Andrew Epperson

a marketing technologist. full-stack web developer: wordpress. seo. jquery.

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • Hire Me
  • WordPress
  • About
 

Execute jQuery After the Page Loads

November 20, 2012 by Andrew Posted in Code
 

If you are using jQuery and want/need to execute javascript after the page has completely loaded, you can use to the following snippet.

$(window).bind("load", function() { 
     // insert your code here 
});

NOTE: this is meant to be used outside of the standard DOM ready method

$(document).ready(function() { });

Share this:

  • LinkedIn
  • Twitter
  • Facebook
  • Reddit

What is the Minimum TTL for Network Solutions DNS

October 4, 2012 by Andrew Posted in General
 

In planning for a site launch, I needed to know the shortest TTL that Network Solutions name servers would allow me to configure. Through some old fashioned trial and error, I found that number to be 3600 seconds.

For those playing along at home:

3600 seconds = 60 minutes = 1 hour

Network Solutions name servers are worldinc.com

Share this:

  • LinkedIn
  • Twitter
  • Facebook
  • Reddit

Use Shortcodes in WordPress Widgets

September 26, 2012 by Andrew Posted in Code
 

Can I use / allow shortcodes in my WordPress Widgets?

The answer is YES!

You can add the following line to the functions.php of your WordPress theme to enable support of shortcodes in Text Widgets.

add_filter('widget_text', 'do_shortcode');

Simple. Concise. Do it.

Share this:

  • LinkedIn
  • Twitter
  • Facebook
  • Reddit

Post navigation

← Older posts
Newer posts →

Connect

TwitterFacebookGoogle+LinkedInPinterestRSS
 

Archives

  • Code
  • General
  • SEO
  • Social

Recently Commented

  • faith on
    Solution to MySQL error #2006 in XAMPP
  • Uibar Cristian on
    Solution to MySQL error #2006 in XAMPP
  • Mahamudul Hassan on
    Resolving Generic “HTTP Error” in the WordPress Media Uploader
 
© 2021 | Andrew Epperson | 
TwitterFacebookGoogle+LinkedInPinterestRSS