Skip to:
Content
Pages
Categories
Search
Top
Bottom

What are shortcodes? How do I use them?


  • Skisma
    Participant

    @skisma

    Sorry to ask such a silly question, but I cannot seem to find info on them other than the http://codex.bbpress.org/shortcodes/ page. I have an idea of what they are, I’m just not sure how exactly to use them. It explains on that page that I just insert them into my desired page, but does not elaborate on that. I was hoping to find an article somewhere that goes over them in detail, but have yet to find it. So, I’ve decided to make a noob post here the bbpress forums.

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

  • Robin W
    Moderator

    @robin-w

    @skisma

    The shortcodes can be used on any wordpress page

    so if fro instance you wanted a menu item that display the most recent 15 topics across all your forums, so that when people selected this menu item that what they saw, then you would

    1. create a page – maybe called ‘latest topics’
    2. put the shortcode into the content section in this case

    [bbp-topic-index]
    

    3. add that page to the menu


    Skisma
    Participant

    @skisma

    @robin-w Ahh ok I see, so basically they are only used for actual pages. That’s what I didn’t get before, I was wondering how I’d accomplish that using the shortcode for a widget. Now I understand this isn’t possible and shortcodes are only used for pages. Thanks man!


    Robin W
    Moderator

    @robin-w

    No problem!

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