• Is pagination supposed to work with the custom taxonomy attachment_category? At the moment every page after 1 returns a 404.

    Pagination permalink is in the form:
    /attachment_category/category-slug/page/2/
    /attachment_category/category-slug/page/3/
    etc

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your question; I want to make sure I understand it.

    From the permalink examples you posted it looks like you are trying to display “taxonomy archive” pages; is that right? If so, you will find that WordPress does not support archive pages for Media Library items, as outlined in this earlier topic and the topics it links to:

    “Nothing Found” on Tag & Category pages?

    I will leave this topic unresolved for now. If I have not understood the question, any additional information you can provide will be helpful. For example, the full source text of any MLA shortcodes you are using. Thanks for your interest in the plugin.

    Thread Starter atmmarketing

    (@atmmarketing)

    Yes it’s a taxonomy archive. We detect the queried object type, make sure the WP Query is correct and it works – we can even set the $paged variable manually and it will advance the pagination and correctly highlight the button in the pagination link bar.

    The problem is that the URI for pages 2 and above return a 404 from WordPress so I was thinking that it’s a rewrite issue. All we need to do is make WordPress aware of the URI syntax and it should work as expected.

    Do you have any suggestions regarding that?

    Plugin Author David Lingren

    (@dglingren)

    Thanks for clarifying your question. It doesn’t look like the MLA plugin is involved at all, except for defining the Att. Categories taxonomy.

    The Att. Categories taxonomy is a straightforward WordPress custom taxonomy and should be fine for your purpose. I do not have any experience working with rewrite rules or how WordPress processes the permalink structures and so do not have any suggestions for you.

    I regret the news is not better, but I am marking this topic “not a support question” because it looks like a WordPress or theme issue. Thanks for your understanding, and I hope you find a solution for your application. If you do find something that might benefit other MLA users, post an update here and share your findings.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘attachment_category Pagination’ is closed to new replies.