There’s different ways to install BSA code in your theme however this solution should work in any theme.
There’s 3 steps involved.
- Load Javscript in theme.
- Hook in banners.
Install BSA Ad Code
When you login to your BuySellAds Dashboard and go to Actions > Ad Code from the small drop down menu, you’ll see 2 snippets of code.
You can select which CMS you are using and follow the instructions or install the code using the method i’ll give you now.
You can then load the BSA Javscript using wp_enqueue_scripts like this from your child themes functions.php file.
3. Hook In BSA Banner Div
You can then add a custom function to your child themes functions.php file and use any WordPress or theme specific hook to display your banner in any position your theme enables you to.
BSA suggest using the Genesis Simple Hooks plugin to install the ad code as one solution.
Leave a Reply
You must be logged in to post a comment.