New site: Solutions for WP – How to do it in WordPress

For quite a long time, I’ve had an difficulty keeping track of all the cool, interesting, and useful WordPress solutions I read in posts and forums. I bookmark things, put them on Delicious, etc. but just end up forgetting where I put them and then spend time Googling around for that thing I read about 6 months ago. Finally, I got the bright idea of using a WordPress database to keep track of them all, and pretty soon I ended up with another website.

Put ad after first post on the page

Often there is a need to insert ad code (or other bit of content) directly after the first post on a page, but not after any others. You can do this by adding a counter and an if statement to the loop.

Guide to creating custom WordPress loops

Learning to use custom loops is a must if you want to get beyond the basics in customizing themes for WordPress. This guide is clear and concise and even includes info about using the custom loop in the sidebar and in the Thesis theme, as well as creating a related...

Script plugin won’t run? Check the location of WP-Head

I don't know much about JQuery and scripts in general, but I'm learning that the order they're loaded in the header can make all the difference. If you have a plugin that uses the JQuery library and doesn't come with it, then the hook for wp_head needs to be below the...

Resolve fatal memory error when upgrading WP

From time to time when I try to upgrade an installation of WordPress I get an error that starts "Fatal Error: Allowed memory size of 33554432 bytes exhausted..." This means that WordPress needs a certain amount of space allocated to perform the upgrade, and the server...

Simple PHP if/then/else code

Very often in customizing themes, I run into the need for simple if/then/else logic. Maybe I want to display the author name only in certain categories, or I need a certain plugin to display output only on certain posts or pages, for example. Adding a quick bit of PHP...

Load Random Stylesheets in WordPress

Need to have random color schemes for a site or maybe a random background image? Use this bit of PHP to load a random CSS stylesheet each time a user visits a site.

Thinking of using a design contest site? Think again.

Once upon a time a running group decided they wanted a new web site design. They thought that going to one of those “crowdsourcing” sites would be a great way to go because they could hold a design contest and get lots of ideas and then take a vote on which was the best. This is what they ended up with…

Categories