I am getting many requests from my friends and readers to show them how to place Google Adsense Ads and Affiliate Banners below the Primary menu.

Especially the Tech bloggers to whom Adsense is the best way to monetize,So they need this workaround to show up 728*90 Leaderboard Ads.

Since Genesis framework is fairly popular among the bloggers in this tutorial I am going to show how to register a Widget below the Primary menu on Genesis child themes so that you can use it to easily display the Leaderboard Ads and other affiliate banners.

Similarly you can also add widget for showing Ad banners,Adsense tags or even newsletter widgets below the post content in Genesis Child Themes

Topads on techiestuffs

Ads below Navigation on Copyblogger Genesis Child Theme

Register a Custom Widget

Open the Your current themes functions.php.You can edit this from your dashboard by visiting Dashboard >> Appearance >> Editor >> functions.php 


you can use FTP clients like Filezilla to open the file which will be under  /wp-content/themes/child-theme-name

Add the following code at the end of the file

/** Register Topads widget area  */
genesis_register_sidebar( array(
    'id'    => 'topads',
    'name'    => __( 'topads', 'custom-theme' ),
    'description'    => __( 'Here you can place 720*90 Ad', 'custom-theme' ),
) );

/** Add topads widget after the primary menu */
add_action( 'genesis_before_content', 'custom_theme_topads' );
function custom_theme_topads() {
    genesis_widget_area( 'topads', array(
        'before' => '<div id="topads widget-area">',
    ) );

Now go to Dashboard >> Appearance >> Widgets and you can see new widget called “topads” registered.

New Widget registered

New Widget registered

You can place anything like I mentioned above, the Leaderboard Ads,Affiliate Banners or even your Newsletter Widget.

Do you want a Video of this Tutorial ?

I hope this little tutorial helps you.I am thinking to create videos for my WordPress Tutorials.

If you wish this tutorial to be published as a Video…Comment back…Good response from your side will inspire me to start the work.

Also dont forget to Subscribe our Newsletter below to get notified about the latest WordPress Hacks.

[mybox] Thesis Version of this Tutorial will be released Shortly [/mybox]


  1. says

    Thankyou for the tutorial. Added my code without any issues. Would be great if you can tell that we have to add text/html box in topads also. The beginners dont know much.

  2. says

    Hi Vivek,

    I am trying to follow the process but this line ‘description’ => __( ‘Here you can place 720*90 Ad’, ‘custom-theme’ ), always shows error.

    Can you please guide?

  3. says

    Again a rocking article Vivek. Genesis framework is one of the most widely used WordPress theme by many bloggers because of its SEO features and simple but professional look.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv badge