Skip to:
Content
Pages
Categories
Search
Top
Bottom

Exclude specific forums in Recent Topics widget


  • marcuswhit
    Participant

    @marcuswhit

    As per the title, I need to exclude specific forums from my Recent Topics widget. Or, as I only have 6 forums total, I could just as easily do with specifying the forums that I want to include.

    Any thoughts on what I’d need to do to do this? Should I override the class for the existing widget to make my own custom widget that does this? Any tips for how I’d do so? I’m using a child theme, and don’t want to edit the core bbpress files.

    Thanks in advance.

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

  • Lynqoid
    Participant

    @lynqoid

    You could copy out the widget code and rename it to create your own widget and then include it in your functions.php


    marcuswhit
    Participant

    @marcuswhit

    Yep, simple and effective. Thanks.


    kokocipher
    Participant

    @kokocipher

    could you share your code :3 ? Where do you copy the codes for the widgets?

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

You must be logged in to reply to this topic.