This tutorial shows you how you can monetize your Threadloom Search results by adding an ad unit above the search results block.
vBulletin 3.x/4.x
- Go to Styles & Templates > Style Manager > Edit Templates > threadloom_shell.
- Search for:
- $navbar
- $html
- Modify the template as follows:
- $navbar
- <div class="threadloom_ad">
- THIS IS SAMPLE AD CODE
- </div>
- Click Save.
- Go to Styles & Templates > Style Manager > Main CSS > Additional CSS Definitions.
- Add the following to the bottom:
- /* ***** styling for ad on Threadloom Search results. ***** */
- .threadloom_ad {text-align: center;}
For XenForo 1.5.x/2.x
- Go to Appearance > Styles > Style Name > Templates.
- Input "threadloom_community_search_results" in the template name filter.
- Double-click on the template.
- With the template open, look for the code as follows:
- </xen:container>
- <div class="section">
- Edit it to look like this
- </xen:container>
- <div class="threadloom_ad">
- <AD CODE>
- </div>
- <div class="section">
- Click Save.
- Then in EXTRA.css be sure to add this:
- /* ***** styling for ad on Threadloom Search results. ***** */
.threadloom_ad {text-align: center;}
- /* ***** styling for ad on Threadloom Search results. ***** */
- Click Save.
Comments
0 comments
Article is closed for comments.