BBpress is light weight forum created by makers of Wordpress. It’s easy to install and has the same interface as Wordpress. Displaying Adsense ad within bbpress takes about 2 minutes.
Follow the steps to display adsense ad just above and below the Page Navigation
Steps to Insert Adsense Code in bbPress
Instructions below is for the default theme kakumei.
- FTP into directory where bbpress forum is installed.
- Navigate to /example.com/bb-templates/kakumei
- Open the File topic.php
- Find the following line of code that contains php_topic_pages (array…… )
- Insert the Adsense code just below that line
- This will display the ad above the forum topic, before posts starts
- To insert the ad after the posts (before navigation page)
- Insert the adsense coede below the line that contains “class=rss line…..php topic_rss_link”
- Refresh the Topic in the fourm and you should see the ads.
There are 2 plugins that will allow to insert adsense code in bbpress. If you want to insert the code between posts then use adsense for bbpress plugin.
Related posts:
