WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. LoeffeDK
    Member
    Posted 1 year ago #

    Hi
    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

    http://wordpress.org/extend/plugins/wp-bulletin-board/

  2. codebycarter
    Member
    Plugin Author

    Posted 1 year 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 */
        <?php
    }
  3. codebycarter
    Member
    Plugin Author

    Posted 1 year ago #

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

    Then add this

    wpbb_display_google_ads();

    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.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags