• 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

maru

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
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 18, 2014 at 7:05 pm in reply to: Genesis Slider Full Width #119647
    maru
    Member

    Ok, thank you so much for your help Tony!

    August 18, 2014 at 6:58 pm in reply to: Genesis Slider Full Width #119645
    maru
    Member

    Thank you, that did it! 🙂 One more thing, now the images are not full width, I already updated the maximum slider width but nothing happens.

    August 17, 2014 at 3:50 pm in reply to: Swank Theme: Using Genesis Responsive Slider at the top of blog posts #119407
    maru
    Member

    Oh thank you Sue!

    August 17, 2014 at 1:39 pm in reply to: Swank Theme: Using Genesis Responsive Slider at the top of blog posts #119395
    maru
    Member

    Ok, I got it! Just in case anyone else needs it, the code is like this:

    /** Add new widget before entry on homepage in Genesis theme | basicwp.com/add-new-widget-genesis-homepage/ */
    genesis_register_sidebar( array(
    'id' => 'homepage-feature',
    'name' => __( 'Homepage Feature', 'custom' ),
    'description' => __( 'This is Homepage feature section', 'custom' ),
    ) );

    /** Top Homepage feature section */
    add_action( 'genesis_before_entry', 'news_homepage_feature', 9 );
    function news_homepage_feature() {
    if ( is_home() && is_active_sidebar( 'homepage-feature' ) ) {
    echo '<div class="homepage-feature">';
    dynamic_sidebar( 'homepage-feature' );
    echo '</div><!-- end .homepage-feature -->';
    }
    }

    Thank you!

    August 17, 2014 at 1:01 pm in reply to: Swank Theme: Using Genesis Responsive Slider at the top of blog posts #119388
    maru
    Member

    Do I need to add that code instead of the one I have? Or after?

    August 17, 2014 at 12:35 pm in reply to: Swank Theme: Using Genesis Responsive Slider at the top of blog posts #119379
    maru
    Member

    Hello Jan,

    I added the following code to my functions.php file:

    //* Hook before post widget area before post content
    add_action( 'genesis_before_post_content', 'sp_before_post_widget' );
    function sp_before_post_widget() {
    if ( is_singular( 'post' ) )
    genesis_widget_area( 'before-post', array(
    'before' => '<div class="before-post widget-area">',
    'after' => '</div>',
    ) );
    }

    But then what do I have to do?

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 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