WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Pagination Issue With Custom Taxonomy

[Resolved] Pagination Issue With Custom Taxonomy

  • Hi,

    I’ve been trying to resolve this issue by reviewing existing posts on the topic, but nothing seems to be working. I have created a custom taxonomy and when pulling up a results page, only the first page of results displays. The other pages are indicated by the page numbers (I’m using pagination), but when I click through to other pages, getting a 404 error.

    Followed many threads here, also:

    https://codex.wordpress.org/Making_Custom_Queries_using_Offset_and_Pagination
    (Using this solution, I received an error message “missing argument. . . “

    Also tried the following code with no success:

    add_filter( 'option_posts_per_page', 'tdd_tax_filter_posts_per_page' );
    function tdd_tax_filter_posts_per_page( $value ) {
        return (is_tax('custom-taxonomy')) ? 1 : $value;
    }

    Can anyone help? With so many documented issues, don’t understand why nothing seems to be working.

    Thanks in advance.

    [Moderator note: Nobody owes you support]

  • The topic ‘[Resolved] Pagination Issue With Custom Taxonomy’ is closed to new replies.
Skip to toolbar