Author Archive for zeo

11 May 2010

Force WordPress network to use sub-directories

In WordPress 3.0, we have the ability to create a network of sites. But if your install is over 1 month old, the sites in your WordPress network must use sub-domains because of permalink problems with “/blog/” from the main site. This is how you can force the sites in your WordPress network to use [...]

23 Apr 2010

WordPress: Conditional Tags Test

Having trouble identify or determine what conditions that a page matches? Add the following Conditional Tags test snippet to your WordPress Theme’s template file, preferably your Theme’s template sidebar.php file: <?php $conditions = array( ‘is_home()’, ‘is_front_page()’, ‘$wp_query->is_posts_page’, ‘is_page()’, ‘is_single()’, ‘is_singular()’, ‘is_attachment()’, ‘is_search()’, ‘is_archive()’, ‘is_category()’, ‘is_tag()’, ‘is_tax()’, ‘is_author()’, ‘is_day()’, ‘is_month()’, ‘is_year()’, ‘is_time()’, ‘is_date()’, ‘is_paged()’, ‘is_comments_popup()’, ‘is_preview()’, [...]