WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Ad content to forum page

[Resolved] Ad content to forum page

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codebycarter

    @codebycarter

    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
    }

    Plugin Author codebycarter

    @codebycarter

    (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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Ad content to forum page’ is closed to new replies.