The Blog

WordPress : How to have query search posts only

If you need to have your WordPress search only search posts for results, you can insert this code before the ‘if(have_posts()):’ line on search.php and it will do that for you.

Further to that you can add any arguments from the …

Continue reading...

WordPress : TinyMCE text editor shortcuts

Some useful shortcuts for the TinyMCE editor in WordPress…

Continue reading...

Robotic curtain

Everyone should have one of these…

Continue reading...

Get your latest Tweet using the JSON timeline

There are a few ways in which I have seen to get the latets Tweet from Twitter to display on a site. The easiest solution I have found uses the JSON timeline of Tweets.

In the example below, I have used …

Continue reading...

WordPress : The proper way to create a home page template that isn’t the standard list of blog articles

A quick guide to correctly set WordPress up to have a custom home page template.

Continue reading...

WordPress : Creating a Twitter Widget

A guide on how to create a fairly flexible Twitter widget for your site or themes you build.

Continue reading...

WordPress : Redirecting to a random page

How to create a random redirect using the wp_redirect() function built into WordPress.

Continue reading...

WordPress : Creating a menu of subpages from post ID of a child page

A step by step guide on how to create a menu of child pages by using the post ID of a child page.

Continue reading...

WordPress : How to enable multi-site in WP3

A step by step guide of how to enable multi-site in WordPress 3, so you can create a network of sites on the one domain.

Continue reading...

Show hidden files on a Mac

I often need access to files such as .htaccess when programming, but they are hidden on a Mac by default. Here is a way that you can show/hide them as you wish.

To view hidden files and folders:

Open the Terminal (located in …

Continue reading...