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 on Jul 30th, 2010 | 0 comments WordPress theme developers… How clean is your code? Did you know that you can find out very easily? Simply enable the following line within your wp-config.php file, and you will see if your code is clean! define('WP_DEBUG', true); This will display WordPress warnings and notices. I recently did this and found a few issues on my main Framework I use for development. Not that there were a lot of issues, mind you, but here were a couple of the notices my theme had: Notice of Deprecated WordPress function: This notice / warning lets you know that one or more of the functions you are using in your...

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'...
