Numeric Pagination Not Working

Forums › Forums › Search & Filter Pro › Numeric Pagination Not Working

Tagged: 

Viewing 4 posts – 1 through 4 (of 4 total)
  • Anonymous
    #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
    #76233

    Have you installed the page-navi plugin, which would, I think, give you more control?

    Anonymous
    #76283

    Yes, 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?

    Trevor
    #76312

    You are using the Shortcode Display method from what I can see? That should be using the results.php template from our plugin, but the results do not appear to be doing that?

Viewing 4 posts – 1 through 4 (of 4 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.