pagination not working with my custom template
-
Hey Bill, love your work.
I’m using the plugin, and using a custom template for my homepage, but the pagination is not working.
The link at the bottom of the homepage “« Older Posts” appears, and allows the user to navigate to /blog/page/2/ … but that page shows the same posts that appear on the homepage. How do I fix this so it shows older posts?
my template looks like this:
remove_action( 'genesis_loop', 'genesis_do_loop' ); add_action( 'genesis_loop', 'eleven40_grid_loop_helper' ); function eleven40_grid_loop_helper() { echo 'some html is in here'; if ( function_exists( 'genesis_grid_loop' ) ) { genesis_grid_loop( array( 'features' => 1, 'feature_image_size' => 1, 'feature_image_class' => 'post-image', 'feature_content_limit' => 250, 'grid_image_size' => 'full', 'grid_image_class' => 'post-image', /*'grid_content_limit' => 250,*/ 'more' => __('',FALSE,''), 'posts_per_page' => 1, ) ); } else { genesis_standard_loop(); } } genesis();
On a related note, I am using the plugin “advanced excerpts” … and with the above template, the advanced excerpts show up for the grid_content but not for the feature_content …
any clue here? … thank you so much, I’m clueless right now on how to fix both these things, been working on this for days. Cheers Bill!
- The topic ‘pagination not working with my custom template’ is closed to new replies.