Posts tagged: tips
Awesome Image-Attachment Recipes for WordPress
Recently, I found myself on the front lines of WordPress’ somewhat complicated Media-Library system. The site that I was developing required a rather elaborate system of retrieving and displaying image attachments. So, using the latest version of WordPress (2.8.3 at the time), I found myself experimenting with as many template tags and custom functions as I could find. After much experimentation, I discovered the perfect solution, and along the way I collected a healthy collection of recipes for displaying image attachments and their various types of associated information.
Mastering WordPress Post-Revisioning and Auto-Save Features
Not everyone loves the post-revisioning feature of WordPress. In fact, some people can’t stand it. On the one hand, it’s nice to have a library of post-draft revisions to drudge through if you should ever make a mistake. On the other hand, multiple copies of every post is a great way to bloat your database with otherwise useless information.
The xmlrpc.php File and Site Security
Included in the
header.php template of most WordPress themes, there is an important hook called
wp_head. This essential hook enables WordPress functions to output content to the browser in the
<head></head> area of your web pages1.
For example, in newer versions of WordPress,
wp_head() enables WordPress to output the following three lines to your theme’s
Edit Your Options from the WordPress Admin
Ever needed to update an option in your database without having to log into your control panel or phpMyAdmin? WordPress provides you with an easy way to view, edit and update your database options table (
wp_options) by simply opening the following URL in your browser: