≡ Menu

[How-To Guide] Add BuySellAd Code In Genesis Theme Framework

Genesis Theme Framework one of the most popular and SEO optimized Theme Framework. The best thing I like about Genesis Theme Framework is that it comes with 38 child themes free of cost which means that you can change your blog layout anytime. All 38 child themes are niche specific which allows you to build niche specific website in couple of minutes.

Still thinking to buy Genesis Theme Framework, then I suggest do not think, get your copy of Genesis Theme Framework right now:

Sign-Up Link for Genesis Theme Framework

Already, I have shared few tutorials on Genesis Theme Framework like adding social media icons, new sidebar, hellobar, Infolinks, Google Analytics and working on more tutorials to share with all readers of WebGuide4U.

In this post I’m sharing how to add BuySellAd Code in Genesis Theme Framework but before that if you have not sign-up for BuySellAd, then sign-up now for BuySellAd. After submitting website to BuySellAd you have to add the tracking code in your WordPress Theme. In previous post I’ve shared how to add BuySellAd Code in Thesis WordPress Theme and Headway WordPress Theme and now I’m sharing how to add BuySellAd Code in Genesis Theme Framework.

Step1: First log-in into wp-admin panel, then go to “Appearance” tab and click on “Editor” as shown below:

add-buysellad-code-genesis-theme

Step2: When you click on “Editor”, it open a new window as shown below:

add-buysellad-code-genesis-theme1

Step3: Now on right hand side on “functions.php” i.e., Theme Functions as shown below:

add-buysellad-code-genesis-theme2

Step4: All you have to do is to copy this code:

add_action(‘genesis_before’, ‘buysellads’);

/**

* Customize the header content.

*

* @author: Vivek Parmar

@email: admin@webguide4u.com

* @link: http://www.webguide4u.com/hire-me

*/

function buysellads() { ?>

<!– BuySellAds.com Ad Code –>

<script type=”text/javascript”>

(function(){

var bsa = document.createElement(‘script’);

bsa.type = ‘text/javascript’;

bsa.async = true;

bsa.src = ‘//s3.buysellads.com/ac/bsa.js’;

(document.getElementsByTagName(‘head’)[0]||document.getElementsByTagName(‘body’)[0]).appendChild(bsa);

})();

</script>

<!– End BuySellAds.com Ad Code –>

<?php

}

Step5: After copying above code, all you have to do is to paste this code and click on “Update File” as shown below:

add-buysellad-code-genesis-theme3

Step6: Congratulations, you have successfully added BuySellAd Code in Genesis Theme Framework.

If you have any query let me know via comments or get in touch using contact form and if you have not get your copy of Genesis Theme Framework, then get it right now

Sign-Up Link for Genesis Theme Framework

Find this tutorial useful? Then share it with all your friends and do not forget to follow us on Twitter for more Genesis Tutorials

{ 1 comment… add one }

Leave a Comment