Hello,
I have the Portfolio on my homepage and I have the exact same issue as Desigirl on April 16th (#11748) meaning:
The homepage displays fine, but the following pages don’t register any change when I click on “Next Pages”.
i.e. domain.com – displays as it should
domain.com/page/2/ – stays the same as domain.com when it should be showing page 2 results
domain.com/page/3/ – stays the same as domain.com when it should be showing page 3 results
domain.com/page/4/ – stays the same as domain.com when it should be showing page 4 results
etc.
The portfolio works fine when it is not on the homepage.
Moreover, I’d like to add that I did this change to the page_portfolio.php file as advised by Wes on October 12th (#8091).
This means: I replaced this code:
// Clear float using genesis_custom_loop() $loop_counter variable
// Outputs clearing div after every 4 posts
// $loop_counter is incremented after this function is run
add_action( ‘genesis_after_post’, ‘portfolio_after_post’ );
function portfolio_after_post() {
global $loop_counter;
if ( $loop_counter == 3 ) {
$loop_counter = -1;
echo ‘<div class=”clear”></div>’;
}
}
by this one
// Outputs clearing div after every 4 posts
add_action( ‘genesis_after_entry’, ‘portfolio_after_post’ );
function portfolio_after_post() {
global $wp_query;
// Assumes 4 posts per row
$end_row = ( $wp_query->current_post + 1 ) / 4;
if ( ctype_digit( (string) $end_row ) ) {
echo ‘<div class=”clear”></div>’;
}
}
Can anyone help me with this issue?
My website is http://www.batooba.com
Thank you very much in advance,
Emmanuel