Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbp_has_topics to display topics while on a forum page


  • highexistence
    Participant

    @highexistence

    I’m using bbp_has_topics to display topics in my sidebar. On forum pages, this gives me strange results sometimes.

    Is there a better way to display topics for a second time on one page? Or to reset the loop or whatever is causing the issue?

Viewing 2 replies - 1 through 2 (of 2 total)

  • highexistence
    Participant

    @highexistence

    For example, if I’m on page 2 of a topic, that code will show me the second page of the most recent topics. It’s somehow pull parameters from the other loop on the page.


    highexistence
    Participant

    @highexistence

    Fixed this by adding 'paged' => 1 to the query

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar