Skip to:
Content
Pages
Categories
Search
Top
Bottom

Display image inside the topic contents


  • baqacreatives
    Participant

    @baqacreatives

    I am trying to display an image within the content area of a topic,
    as illustrated in this image…

    topic display screen requirement

    I am using bbpress 2.6.3 and WordPress 5.3.2.

    Please help.
    Thanks

Viewing 1 replies (of 1 total)

  • baqacreatives
    Participant

    @baqacreatives

    Here is my code in functions.php which displays the image under the title:

    add_action('bbp_template_before_replies_loop', 'bbp_show_extra_fields');
    function bbp_show_extra_fields() {
      echo "<img src=http://baqacreatives.com/azam/Capture1.jpg>";
    };
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar