WP Bulletin Board
[resolved] Ad content to forum page (3 posts)

  1. LoeffeDK
    Posted 3 years ago #

    i like to ad some google ads to my forum page before the formum header.
    but i cant do anything om the page?

    can you help me


  2. codebycarter
    Plugin Author

    Posted 3 years ago #

    It sure is. You'll need to edit it in different places if you want it to appear on the forum index, forum or subforum view and topic or subforum topic view. What you could do is this:

    In wp-bulletin-board/php/wpbb-functions.php at the bottom of the file before ?> add:

    function wpbb_display_google_ads()
        /* Enter the HTML here */
  3. codebycarter
    Plugin Author

    Posted 3 years ago #

    (Sorry accidentally submitted the post. Here is the rest)

    Then add this


    To all these files at the specified lines:

    wp-bulletin-board/php/wpbb-index.php after line 108
    wp-bulletin-board/php/wpbb-view-forum.php before line 25
    wp-bulletin-board/php/wpbb-view-subforum.php before line 37
    wp-bulletin-board/php/wpbb-view-forum-topic.php between lines 200 and 201.
    wp-bulletin-board/php/wpbb-view-subforum-topic.php before line 213

    Should work as long as you haven't edited them files. If it doesn't display how you want it to please email me an admin login and I'll take a look at it for you.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Bulletin Board
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic