Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can I display topic ID?

  • @ademmler

    Member

    I would like to display the internal “Topic ID” from DB next to the Title/Text.

    Which variable doe I have to place in which file next to it?

    Greetings Alexander

Viewing 2 replies - 1 through 2 (of 2 total)
  • @chrishajer

    Participant

    I think this will get you the numeric topic id:

    <?php topic_id(); ?>

    Just put that in your template file wherever you want to show the id. This is with version 0.9 and the id is echoed, so there’s no need to do that. Just put it next to topic_title(); wherever you want to show it.

    @ademmler

    Member

    Thanks, I have done so and it works :)

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