Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove a forum category from latest discussion.


  • merlin214365
    Member

    @merlin214365

    Is there a way remove a specific forum category from the latest discussion list?

    I have tried editing in functions.bb-topics.php

    From

    function get_latest_topics( $args = null ) {

    $defaults = array( ‘forum’ => false, ‘page’ => 1, ‘exclude’ => false, ‘number’ => false );

    to

    function get_latest_topics( $args = null ) {

    $defaults = array( ‘forum’ => false, ‘page’ => 1, ‘exclude’ => 13, ‘number’ => false );

    13 being the category number I wish to remove. This does work in removing forum 13 from latest discussion unfortunately it also removes forum 13 completely lol

  • You must be logged in to reply to this topic.
Skip to toolbar