BuilderChild-Covell

From IThemes Codex
Revision as of 14:09, April 27, 2011 by Sridhar (Talk | contribs)
Jump to: navigation, search

Contents

How to display Projects instead of posts on Posts page

Before:

Covell-posts-page-before.png

After:

Covell-posts-page-after.png

Edit theme's index.php.

Add the following above <?php if ( have_posts() ) : ?>

<?php if(is_home()) { query_posts(array('post_type'=>'builder_projects', 'paged' => get_query_var( 'paged' ) ) ); } ?>

Item 2

Item 3

Item 4

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox