• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to place a Add On top of post

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › How to place a Add On top of post

This topic is: not resolved

Tagged: ad, google, news pro theme

  • This topic has 4 replies, 2 voices, and was last updated 10 years, 10 months ago by black9design.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 31, 2014 at 9:54 pm #122154
    barahona06
    Member

    I will like to add a google ad on top of post, but i wan this to be auto, so i dont have to do it everytime i post.?? help..this is the site. iam using News Pro Theme.

    http://tecnologiageek.com/

    http://tecnologiageek.com
    August 31, 2014 at 10:03 pm #122156
    black9design
    Member

    You will want to add the following in your functions.php file.

    genesis_register_sidebar( array(
    'id' => 'custom-widget',
    'name' => __( 'Custom Widget', 'genesis' ),
    'description' => __( 'Custom Widget Area', 'themename' ),
    ) );

    add_action( 'genesis_before_entry', 'add_genesis_widget_area', );
    function add_genesis_widget_area() {
    genesis_widget_area( 'custom-widget', array(
    'before' => '<div class="widget-class">',
    'after' => '</div>',
    ) );

    }

    You can then add custom styles to .widget-class or rename to your liking


    I specialize in child theme customizations and The Dynamik Website Builder
    Visit me here: Black9Design.com | ParkerWadeSmith.com | AllThingsGenesis.com

    August 31, 2014 at 10:05 pm #122157
    black9design
    Member

    You may want to shorten your site title. I looked at it and it's very long. As well as the site description.


    I specialize in child theme customizations and The Dynamik Website Builder
    Visit me here: Black9Design.com | ParkerWadeSmith.com | AllThingsGenesis.com

    August 31, 2014 at 10:39 pm #122162
    barahona06
    Member

    thanks for the tips, also for the seo help..

    cuestion how much you charge to add this funtion on theme.??

    August 31, 2014 at 10:53 pm #122167
    black9design
    Member

    please contact me via my website and we will discuss.


    I specialize in child theme customizations and The Dynamik Website Builder
    Visit me here: Black9Design.com | ParkerWadeSmith.com | AllThingsGenesis.com

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble