Posts Tagged "WordPress"

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. // search only posts global $wp_query; $args = array_merge(

Read More

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.

Read More

WordPress : Creating a Twitter Widget

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

Read More

WordPress : Redirecting to a random page

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

Read More

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.

Read More

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.

Read More

WordPress : Get top level parent category slug

I was trying to get the top level category for a post in WordPress today and got a bit baffled about how to go about it.

Read More