Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Best way to remove ‘unresolved topics’


so1o
Participant

@so1o

there are two things you have to do..

  1. one change the topic tempalte to remove the call to topic_resolved()

    <li id="resolution-flipper"><?php _e('This topic is') ?> <?php topic_resolved(); ?></li>

  2. fix get_views() in the functions.php

    to that just write a plugin to remove the unwanted options from the views

    function my_no_support_views($views) {

    return array_diff($views, array('unresolved' => __('Unresolved topics')));

    }

    add_filter('bb_views', 'my_no_support_views');

Skip to toolbar