Techniques » PHP

Simplify the WordPress Admin sidebar navigation

Want to remove some of the root WordPress Admin sidebar navigation? We have a client that was mainly interested in writing pages and managing media for those pages, they were (more…)


Redefine Twenty Ten header image width and height

How do you go about redefining the WordPress Twenty Ten header image width and height? We recently used the Twenty Ten theme as a Parent Theme for a multi-site installation (more…)


Remove default WordPress Twenty Ten header images

How do you remove those pesky default header images included in the Twenty Ten WordPress theme. We recently used the Twenty Ten theme as a Parent Theme for a multi-site (more…)


Remove Widgets from Twenty Ten WordPress theme

So you want to remove some of the “stock” Widget Areas from the WordPress Twenty Ten theme, how do you go about doing this? We will be using the WordPress (more…)


Serve Watermarked Images with PHP

So you want to watermark your images, how do you do this? In this technique we’ll show you how we serve our images with a watermark using PHP. We’ll be (more…)


Admin Link Shortcode for Thematic Footer Text

Thematic comes with a variety of shortcodes that can be added to the footer text in the Thematic Options. We wanted to add the Admin link to the footer, but (more…)


Using HTML5 with your Thematic Child Theme

In the interest of keeping our websites “future-proof”, I began investigating using the HTML5 DOCTYPE. As it turns out, the switch for most WordPress themes will be trivial: Change the (more…)


WordPress 3.0 Menu Management

One of the best all-around additions to WordPress 3.0 is custom Menu management. So how do you implement custom menus into your WordPress site? Simply add a few lines of (more…)


WordPress Create Custom Roles and Capabilities

So you want to add a custom Role to your WordPress site to add more flexibility when assigning users their role, what do you do? Simply add a role, with (more…)


WordPress Role Capability Restriction

So you want to restrict user capabilities of a role on your WordPress site from editing and deleting other user’s pages and posts, but you can’t seem to find an (more…)


Serve Resized Images with PHP

There are many reasons we use PHP to serve images on sites including: resizing, watermarking, skewing, server-caching, etc. This will cover the basics of serving and resizing an image with (more…)


PHP Image Manipulation Functions

Lets define some PHP functions we’ll be calling on for our PHP image tutorial series. We define all these functions in a file named functions.phtml and call it in our (more…)


Dynamic Font-Based Images

We wanted to create stylish text images for our page and post headings, but we didn’t want to create them in advance, we wanted them on the fly. This is (more…)


Hello World! – PHP Style

What would a list of How-To-Techniques be on a WordPress site without a “Hello World!” example in PHP? We think lacking at best, so let’s play with some simple php (more…)