• 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

Feature Posts Slider

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 › Feature Posts Slider

This topic is: not resolved

Tagged: featured posts, slider

  • This topic has 9 replies, 2 voices, and was last updated 9 years, 10 months ago by NYCBee.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • January 5, 2017 at 4:57 pm #198828
    NYCBee
    Member

    Is there a way to display a featured posts slider near the top of my website? I would not want it full width but rather the same width as the content+sidebars.

    January 6, 2017 at 2:20 am #198841
    Brad Dalton
    Participant

    What theme are you using? Please link to your site.

    You can use the Genesis Responsive slider widget as it pulls in the featured image from each post.


    Tutorials for StudioPress Themes.

    January 6, 2017 at 10:23 am #198869
    NYCBee
    Member

    Thanks Brad.

    It's http://www.financewithstickfigures.com and I am using straight Genesis framework.

    January 6, 2017 at 5:37 pm #198893
    NYCBee
    Member

    I downloaded the plug-in. It says I place it in any widget area but I want it in the center of the page taking up the same width as the content and the sidebar. Right now the only options for widget areas I see are Header Right, Sidebar, and Footer. Is there a way to create a widget area just below the header? Thanks

    January 6, 2017 at 5:56 pm #198898
    NYCBee
    Member

    I found The Genesis - Simple Hooks Plugin as well as this set of instructions on how to create a new widget area. http://my.studiopress.com/tutorials/register-widget-area/

    I took this code from the link above and tried to paste it in the plug in section for 'Genesis_Before_Content'. It just spit it out as text directly on the website rather than creating a widget area. I also wasn't sure whether to check execute php or execute shortcode but I tried all combinations.

    Any idea what I'm doing wrong?

    //* Register center homepage widget area
    genesis_register_sidebar( array(
    'id' => 'center-homepage',
    'name' => __( 'Center Homepage', 'Genesis' ),
    'description' => __( 'This is a widget area that can be placed in center of homepage', 'Genesis' ),
    ) );

    Is this part supposed to go into home.php rather than the plug in? I can't find home.php. And if I did, what do I enter into the plug-in? The sample seems like it's for after a post and I want it on the home page. Sorry I'm so confused!

    January 7, 2017 at 1:41 am #198918
    Brad Dalton
    Participant

    Don't use Simple Hooks. Add the code to your functions file.


    Tutorials for StudioPress Themes.

    January 7, 2017 at 12:01 pm #198957
    NYCBee
    Member

    Thanks Brad. Does it matter where I put it in functions.php? Also, I adapted the code from something that was supposed to be a sidebar and am not sure it's correct (it still says genesis_register_sidebar( array( but I don't know what to change it to). How will it know that I want it right under the header unless I put it in a specific place in functions.php?

    January 7, 2017 at 12:11 pm #198959
    Brad Dalton
    Participant

    Change the hook

    add_action( 'genesis_after_header', 'sp_after_post_widget' );
    	function sp_after_post_widget() {
    		genesis_widget_area( 'center-homepage', array(
    			'before' => '<div class="after-post widget-area">',
    			'after' => '</div>',
    	) );
    }

    Tutorials for StudioPress Themes.

    January 7, 2017 at 12:55 pm #198964
    NYCBee
    Member

    I see it now! Do you know how to change its size? I want the gray box around it and the slider carousel itself to be the same width as the content and sidebar combined. Right now it's looking a little wonky as you can see on the site. But it's on there now!

    Thanks.

    January 7, 2017 at 12:58 pm #198965
    NYCBee
    Member

    To clarify, I see in Slider Settings an option to change the size but it's more the size of the gray box around it also shrinking and the alignment so that it's centered on top of the content and the sidebar.

    And is there a way to add ... at the end of the excerpt in the slider? It just ends abruptly right now and I don't see anything in Genesis->Slider Settings to change this.

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 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

© 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