Displaying advertisements before and after actual article content is a must for majority of blogs and websites. Genesis child theme users can easily add new widget section below post title (before post content) and after the post content to show ads in these areas. Once you add new sections, just use add text widget to those sections and paste any code that you want to display. Besides the usual ad code, you can insert code to display social icons or use any other widgets in those sections like recent posts, search, comments etc.

1. Add ads below Post title on single Posts

Add following code to functions.php file. This code will register and create new widget “Ad After Title” in the widgets area.


Once you add the code, goto widgets area and drag text widget to “Ad After Title” section. Then paste your Adsense ad code or any other advertisement code to that text widget.

Show adsense ads after post title in genesis theme

The added advertisement will only display below post title on single posts. You can also customize the look of this ad code section by adding following code to your style.css file.

.ad-after-title {

2. Add Ads at post content end on single post

Add following code to functions.php file. It creates new “Ad After Content Area” widget in the widgets area. Now goto widgets aread and drag text widget to “Ad After Content Area” widget section. Then paste advertisement code, social icons code, simple text or anything that you want to display after post content on single posts in the text widget.


Similar to above, you can customize look of this section by adding “ad-after-content” class to style.css file. You can begin by adding following code to style.css and then customize it further as per requirement.

.ad-after-content {

Davinder Singh Kainth

A digital creator with 15+ years of experience in Website Design, Development, SEO, and Content Creation to Podcasting at SmartWebCreators.com with the motto of "Be Smart, Keep Creating". A coach, consultant, and your dear geek friend ❖


  1. Tuhin on November 6, 2012 at 6:48 pm

    Nice tutorial……………….thanks for share.

  2. csaba on January 15, 2013 at 6:00 pm

    Parse error: syntax error, unexpected ‘=’, expecting ‘)’ it says this can you email me if you sort it out? I have the latest php version on my server.

    ‘id’ => ‘after-post-title-ad’, this is the line causing the error

  3. Joel on January 28, 2013 at 2:35 pm

    Thank you so much for the useful post.I wanted to know How can you place the ad to the centre below the post title.


    • Editor on January 29, 2013 at 11:55 am

      In the CSS Code add following to make it center align:


  4. Linmer on June 7, 2013 at 3:04 am

    great tutorial. I just want to ask if I put the widget on a page would i use the same code?

  5. Bob Roman on July 29, 2013 at 2:55 pm

    Any idea how to add TWO widgets, side by site after the post in Genesis? I’ve see that on Copyblogger website before they re-designed the site. I would use one for related posts or sign up form and the other for AdSense or other ad network.

  6. Kojalc on January 3, 2014 at 8:01 am

    this is great ! so I can stop depends on plugin to add the code, thanks so much!

  7. Windowsboy on March 12, 2014 at 6:13 am

    Thanks for the tip. Between, is it possible to add “Advertisements” text just above the add? I tried to use the following code in the Ad after title widget but somehow Advertisements text isn’t appearing.

    • Editor on March 29, 2014 at 2:25 pm

      Just add text advertisement before the ad code – it will appear above the ad by default

  8. Samuel on June 29, 2014 at 7:19 am

    Worked like a charm! Shame I did not find this sooner. Broke the website a few times before finding this. Bookmarked and saved for future projects thanks to the editor

  9. rohan on August 15, 2015 at 7:38 am

    thanks bro gonna try

  10. James on November 5, 2015 at 4:11 am

    Only this article is useful.
    Working 100% on genesis theme..
    Awesome ! keep working :D

  11. Ramón on December 6, 2016 at 2:11 am

    Thanks A LOT!!! Very nice and absolutely useful.

  12. Süleyman ÖZKAN on July 26, 2017 at 3:02 am

    He works great. I got rid of a big trouble. It’s really a boon. Thank you

Leave a Comment