Forums › Forums › Search & Filter Pro › Numeric Pagination Not Working
Tagged: pagination
- This topic has 3 replies, 2 voices, and was last updated 8 years ago by Trevor.
-
Anonymous(Private) December 14, 2016 at 5:39 am #76115
Hi,
I am using a genesis child theme and this plugin, I have set my pagination to numeric and it works on all other pages of my site except the search & filter results. How can I fix this?
Example of working numeric pagination:
http://nvcac.paonecreative.com/exhibitions/Search and Filter Results:
http://nvcac.paonecreative.com/exhibitions-and-events-results/My custom Loop code:
/** Custom loop **/ function nvcac_custom_loop() { echo '<div class="archive-items">'; if ( have_posts() ) : do_action( 'genesis_before_while' ); while ( have_posts() ) : the_post(); do_action( 'genesis_before_entry' ); printf( '<div class="archive-listitem"><a href="' . get_permalink() . '"><article %s>', genesis_attr( 'entry' ) ); do_action( 'genesis_before_entry_content' ); printf( '<div %s>', genesis_attr( 'entry-content' ) ); if ( has_post_thumbnail() ) { echo get_the_post_thumbnail($id, array(260,180)); } else { echo '<img src="/wp-content/themes/nvcac/global-images/Archiveimage-default.jpg" alt="<?php the_title(); ?>" class="default-header-img" />'; } echo '<div class="archive-desc"><h3>'; if ( is_singular('members') || is_post_type_archive('members') || is_tax('membership-type') ) { $custom_taxonomy = get_the_terms( $post->ID, 'membership-type'); } if ( is_singular('exhibitions') || is_post_type_archive('exhibitions') || is_tax('exhibition-type') ) { $custom_taxonomy = get_the_terms( $post->ID, 'exhibition-type'); } if ( is_singular('education') || is_post_type_archive('education') || is_tax('class-type') ) { $custom_taxonomy = get_the_terms( $post->ID, 'class-type'); } if ( is_singular('culturalmap') || is_post_type_archive('culturalmap') || is_tax('cultural-mapping') ) { $custom_taxonomy = get_the_terms( $post->ID, 'cultural-mapping'); } foreach ( $custom_taxonomy as $term ) { echo $term->name; } echo '</h3>'; do_action( 'genesis_entry_header' ); echo '</div></div>'; do_action( 'genesis_after_entry_content' ); do_action( 'genesis_entry_footer' ); echo '</article></a></div>'; do_action( 'genesis_after_entry' ); endwhile; //* end of one post do_action( 'genesis_after_endwhile' ); else : //* if no posts exist do_action( 'genesis_loop_else' ); endif; //* end loop echo '</div>'; }
Trevor(Private) December 14, 2016 at 4:07 pm #76233Have you installed the page-navi plugin, which would, I think, give you more control?
Anonymous(Private) December 14, 2016 at 5:45 pm #76283Yes, I’ve tried that with no success. It seems to only affect search result from the plugin as I’ve changed themes, deactivated all other plugins and changed the permalinks with no success. Is there a reason you can think of that this would be happening?
-
AuthorPosts