Welcome to EdNailor.com

Yes, I wish I was there, but today I am not. So today, this is what's on my mind... Enjoy!
Posted by Ed Nailor in Wordpress, Wordpress 3.0 on Jul 7th, 2010 | 0 comments WordPress does not, by default, allow sessions. In a recent project, I needed to use sessions. So how do you use sessions in WordPress? Simple. Add the following line to your functions.php file within the open and close php tags, and you can then use sessions as needed. if ( !session_id() ) add_action( 'init', 'session_start'...

Posted by Ed Nailor in Personal on Jun 23rd, 2010 | 0 comments WoooHooo! On June 26, 2010 you will find me somewhere in the rapids of the Ocoee River in Tennessee. I am finally getting away to enjoy some whitewater rafting after a couple years of not being able to go. This is long over due and highly looked forward to! So please be advised, unless you too are on the river, I will be unavailable during the...

Posted by Ed Nailor in News, Websites, Wordpress, Wordpress 3.0 on Jun 17th, 2010 | 0 comments I just want to say, WordPress 3.0 is finally...

Posted by Ed Nailor in Wordpress 3.0 on Jun 16th, 2010 | 0 comments Now you can control the styles of the WordPress content editor (TinyMCE) by using the following snippet in your functions.php file, and by adding an editor-style.css file to your...

Posted by Ed Nailor in Wordpress 3.0 on Jun 16th, 2010 | 0 comments Very cool snippet to add a WordPress login form anywhere you want: <?php wp_login_form(); ?> More details @...

Posted by Ed Nailor in Wordpress 3.0 on Jun 16th, 2010 | 0 comments Using the code below, you can allow your theme to set the default configuration for WP. Useful if you use the same theme as a framework a d do a lot of clean website installs.function set_theme_defaults() { $o = array( 'avatar_default' => 'blank', 'avatar_rating' => 'G', 'category_base' => '', 'comment_max_links' => 0, 'comments_per_page' => 0, 'date_format' => 'F j, Y', 'default_ping_status' => 'closed', ...
