Add Edit Link To WordPress Posts and Pages

Posted July 26th, 2010 in Tips, Wordpress by Alastair McDermott

This is a WordPress Quick Tip: How to add an “Edit this page” link to your WordPress posts and pages that will only be displayed if you are logged in.

First, find the location where you want to display the link. A good place to put it is either just before, or just after the main content of the page.
Continue Reading »

Basics of Custom Fields In WordPress

Posted June 14th, 2010 in Tips, Wordpress by Alastair McDermott

Beautiful Field - by flickr's KevinLallier

I was recently asked about using custom fields in WordPress and I thought it was worthy of a quick blog post. I’ve seen custom fields used for many different things from review ratings (e.g “3/5 stars“) to mood messages (“Today I feel like listening to  loud metal and shouting at my housemates“), etc. For this example, let’s use a very simple real case we recently dealt with.

We wanted to have an image appear at the top of the WordPress Page or Post, under the headline but above the text. We wanted the image to be shown whenever we supplied one. Here’s how we implemented it. Continue Reading »