Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding a Topic discussion below my PHP code

  • Hi there,

    I’ve looking for a solution to show below one of my blog pages a topic discussion from bbpress forum. The problem I have is that this page has the Visual Editor off in order to write PHP inside for my convenience.

    So I can’t use the shortocodes there and neither the php code as it appears in the plugin templates. Because the code has to make a loop to show all the discussion for this certain topic I think it is not possible to integrate a PHP code for that on my own PHP code…

    Any idea about this?

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

  • Jarret
    Participant

    @jarretc

    So you’re wanting to display a list of topics related to a particular post at the bottom of said post?

    So an example would be something like…

    [post_title]

    [post_content]

    [related_forum_topics]

    Is that correct? Do you need these topics to be added to the list automatically or would manual updates be ok?

    Not exactly…

    I have a page on my blog made in PHP with my own code. Let’s say something like <?php echo “Hello world” ?> For that I had to deactivate the Visual Editor for that page in the admin section.

    And now I want the forum topic with ID number 12021 to appear below my PHP code in that page.

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