Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show a single Topic Shortcode

  • When I use the following shortcode:

    [bbp-single-topic id=$topic_id] – Show a single topic

    How do I know what the ID is of each of my topics? I’ve tried a lot of what I though were good guesses, but none of them seem to work.

    How do I figure out what goes in the shortcode to display a given topic?

Viewing 8 replies - 1 through 8 (of 8 total)
  • If you edit the topic in the WordPress admin dashboard, you will see the topic ID in the URL.

    For example http://wptrunk/wp-admin/post.php?post=6&action=edit where the topic ID would be 6,


    Mimma
    Participant

    @mimma

    how about shortcode single topic tag? I have tried this [bbp-single-topic-tag id=10] and [bbp-single-tag id=10], but it result empty page on my website, can anyone help me ?


    zaerl
    Participant

    @zaerl

    > how about shortcode single topic tag?

    Do you mean a shortcode that display all topics which have tag N? [bbp-single-topic-tag id=N]


    Mimma
    Participant

    @mimma

    Yes, i mean shortcode that display all topics which have tag N.
    i still doesn’t work and result empty page 🙁


    zaerl
    Participant

    @zaerl

    Are you sure you selected the right ID from the admin page? The shortcode accept a numeric ID, not the slug.


    Mimma
    Participant

    @mimma

    Yes I am sure, it contains eg. tag_ID=10, right?
    i write [bbp-single-topic-tag id=10] but it still shows the empty page


    bvaring
    Participant

    @bvaring

    With this codex how do you specify only the latest replies or a specific number of replies for one topic.


    Robin W
    Moderator

    @robin-w

    @bvaring – nothing I know of does this

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