Stuff...

Snippet

WordPress simple list of the current posts tags

Simple function to print a list of tags which the current post is tagged with e.g. Outputs: <ul> <li><a href=”http://taglink1″ rel=”tag”>Tag 1</a></li> <li><a href=”http://taglink2″ rel=”tag”>Tag 2</a></li> <li><a href=”http://taglink3″ rel=”tag”>Tag 3</a></li> </ul>

Read more >>


Snippet

WordPress simple get post meta

This function returns the values of the custom fields with the specified key from the specified post. This is the simplest method of simply echoing out the value of a WordPress custom field on a post or custom post. Just replace custom-field-name with the name of the desired custom field you want to echo out.

Read more >>


Post

Redirect WordPress attachment urls to the file url

Been having clients upload PDF docs to WordPress in the usual way, WordPress then creates a post url for that file upload – no worries. Trouble is many clients are then using this as the link to the document and then wondering why when they click the link they are just taken to another page […]

Read more >>