Skip to:
Content
Pages
Categories
Search
Top
Bottom

how to show 5 recent topics on homepage like bbpress.org??


  • Robkk
    Moderator

    @robkk

    how to show 5 recent topics on homepage like bbpress.org??

    is it just the recent topics widget, or and edited version of the bbpress index shortcode??

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

  • Robin W
    Moderator

    @robin-w

    One I’ve been playing with

    bbp additional shortcodes


    Robkk
    Moderator

    @robkk

    @robin-w thanks!!! this was exactly what i needed!!!


    Robin W
    Moderator

    @robin-w

    No problem.


    Robkk
    Moderator

    @robkk

    @robin-w is there a filter i could use to output a different template

    i dont want certain items to be seen when i add this shortcode somewhere, and the easiest is copying a template and renaming it and just removing the unwanted code.

    i want to basically just edit this

    // Output template
    bbp_get_template_part( 'content', 'archive-topic' );

    is there a way to change it to

    // Output template
    bbp_get_template_part( 'content', 'archive-topicno' );

    Robkk
    Moderator

    @robkk

    never mind ill just edit the plugin


    Robin W
    Moderator

    @robin-w

    yes, just change it !

    you can then do one of two things

    1. just make a note, so that each time I upgrade this plugin, you’ll need to go back and change the code again

    2. rename the plugin in line 4 – say to

    Plugin Name: bbP shortcodes robkk
    

    and then change the directory the plugin sits in to something else

    Worpdress will then tell you that you have a plugin installed but not activated called bbP shortcodes robkk, and that the plugin bbp shortcodes no longer exists, and you can then delete it.


    Robkk
    Moderator

    @robkk

    yeah ILL just do 1. because all i add is just two letters , no big deal haha


    Robin W
    Moderator

    @robin-w

    @robkk – thought you might – that’s what I’d do 🙂

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