![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hey gang,
I'm trying to create a page template that will show all blog posts, including all cpt. Currently I have this working aside from the pagination. The links are showing up, but all pages have the same content as page 1. Can someone tell me what I'm missing? http://fuelingnewbusiness.com/home/ Code:
<?php
/**
Template Name: Custom Blog
*/
remove_action('genesis_loop', 'genesis_do_loop');
add_action('genesis_loop', 'custom_do_cat_loop');
function custom_do_cat_loop() {
global $query_args; // any wp_query() args
$args= array('post_type' => 'post');
genesis_custom_loop(wp_parse_args($query_args, $args));
}
genesis();
Keith |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pagination? | JamesFalconer | General Discussion | 3 | 03-25-2010 10:00 AM |
| Better pagination | manoffitness | General Discussion | 1 | 02-16-2010 07:30 AM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us