BuilderChild-Covell

(Difference between revisions)
Jump to: navigation, search
m (How to display Projects instead of posts on Posts page)
(Added "How to make use of the Projects feature")
Line 1: Line 1:
 +
= How to make use of the Projects feature =
 +
 +
Covell's unique feature is the Projects custom post type.
 +
 +
When Covell is activated, Projects section appears in the dashboard below Posts.
 +
 +
[[Image:Covell-projects.png]]
 +
 +
To create a new Project entry, click on Add New.
 +
 +
Enter a title, project description, click on "Set featured image" link and select one, optionally a layout that this project page (single view) should use and hit Publish.
 +
 +
[[Image:Covell-adding-project.png|800px|none]]
 +
 +
Repeat this for as many projects as you want.
 +
 +
To visit the page that lists all projects, go to www.yoursite.com/projects. Note: Do not create a Page titled "Projects".
 +
 +
[[Image:Covell-projects-page.png|800px|none]]
 +
 +
Note that projects page has been designed to only show featured images and not content of the projects. Each featured image will link to its project page (single view).
 +
 
= How to display Projects instead of posts on Posts page=
 
= How to display Projects instead of posts on Posts page=
  
Line 16: Line 38:
 
<?php if(is_home()) { query_posts(array('post_type'=>'builder_projects', 'paged' => get_query_var( 'paged' ) ) ); } ?>
 
<?php if(is_home()) { query_posts(array('post_type'=>'builder_projects', 'paged' => get_query_var( 'paged' ) ) ); } ?>
 
</pre>
 
</pre>
 
= Item 2 =
 
  
 
= Item 3 =
 
= Item 3 =
  
 
= Item 4 =
 
= Item 4 =

Revision as of 14:40, May 4, 2011

Contents

How to make use of the Projects feature

Covell's unique feature is the Projects custom post type.

When Covell is activated, Projects section appears in the dashboard below Posts.

Covell-projects.png

To create a new Project entry, click on Add New.

Enter a title, project description, click on "Set featured image" link and select one, optionally a layout that this project page (single view) should use and hit Publish.

Covell-adding-project.png

Repeat this for as many projects as you want.

To visit the page that lists all projects, go to www.yoursite.com/projects. Note: Do not create a Page titled "Projects".

Covell-projects-page.png

Note that projects page has been designed to only show featured images and not content of the projects. Each featured image will link to its project page (single view).

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 3

Item 4

Personal tools
Namespaces
Variants
Actions
iThemes Codex
Codex Navigation
Toolbox