Which Versions of PHP and MySql Run Your WordPress Blog?
How Healthy is Your WordPress Blog? Do you know what version of PHP or MySQL your server is running? The improvements in WordPress continue. Check the state of your blog’s health by running the new...
View ArticleUsing PHP Inside Content of WordPress Blogs
Using PHP inside of content on WordPress sites may not produce the expected results. As WordPress is built in PHP, you might think you could just start typing PHP code inside a post to pull some...
View ArticlePaths For Building WordPress Themes or Plugins
When tinkering with the code that runs WordPress it’s very important to get the correct path to a file. Of course it is or else the files can’t be found and your new functionality won’t work. According...
View ArticleHow To Download A Header Image Just Once
While checking links on a client’s re-vamped web site, I noticed that the header image would be re-loaded for each page visited on the site. I’d forgotten to set the .htaccess file with an Expires...
View ArticleEnable Caching in Firefox for Faster Web Sites
Using an .htaccess file to specify that images should be cached is one way to speed up the time it takes for your web pages to appear. Those of us still using older browsers will thank you for using an...
View ArticleInclude jQuery or JavaScripts in WordPress
Plugin and theme authors use jQuery for their special effects, but there seems to be some confusion about the proper way to include JavaScript files in WordPress. If you’d like to use jQuery effects on...
View ArticleLoading WordPress with One jQuery
If there are several plugins on your WordPress sites there may be more than one copy of jQuery, or other script, that’s loaded, especially if you’re relying on the same scripts for control of the site...
View ArticlePutting Readable Code in a WordPress Post
Writing about PHP or HTML code in WordPress posts or pages often requires that some actual code is shown on the screen for explanation. If special steps aren’t taken to illustrate the code as text, the...
View ArticleLearning Code Resources to Beat the Summer Heat
People love the summertime with all its heat and sunshine. But not everyone likes to bask in the sun, so instead they turn to cooler activities than baking their skin to a crisp. Count me in as one of...
View ArticleHow to Change the Format of MySQL Dates Using PHP
Dates stored in MySQL databases are represented using the format ‘YYYY-MM-DD’. People don’t usually say they accomplished a task on 2013-01-01, so this format is not the most convenient. Often we need...
View Article