• 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

Genesis Slider on Static Pages

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 › Design Tips and Tricks › Genesis Slider on Static Pages

This topic is: not resolved

Tagged: Innov8tive, slider

  • This topic has 13 replies, 2 voices, and was last updated 12 years, 5 months ago by Brad Dalton.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • November 7, 2013 at 11:04 pm #71621
    clarkscondensed
    Member

    I am currently working on a client's page, and I am trying to get the slider to show up on the static page -- I tried to follow these instructions:

    http://www.carriedils.com/add-slider-minimum-theme/

    But the theme she has (innov8tive) doesn't have some of the code that the other theme has. Is there anyway I can make the slider show up on the static homepage? I was able to register a new widget area called "Home Slider" and input the widget for the genesis responsive slider. The site I am working on is itsyummi.com

    http://www.itsyummi.com
    November 8, 2013 at 1:27 am #71634
    Brad Dalton
    Participant

    Try this http://wpsites.net/web-design/adding-new-widget-areas-in-studiopress-themes/

    You will need to change the conditional tag and hook position.


    Tutorials for StudioPress Themes.

    November 9, 2013 at 12:29 am #71829
    clarkscondensed
    Member

    Okay, I installed that code, and I think I changed it correctly; my computer is having a hard time updating the site for some reason though -- can you see if slider is working. If not, here is the code I put in:

    genesis_register_sidebar( array(
    'id' => 'home-slider',
    'name' => __( 'Home Slider', 'ItsYummi' ),
    'description' => __( 'This is the home slider', 'ItsYummi' ),
    ) );

    add_action( 'genesis_after_header', 'your_widget' );

    function your_widget() {

    if ( is_front_page() && is_active_sidebar('new-widget') ) {

    genesis_widget_area( 'new-widget', array(

    'before' => '<div class="new-widget" class="widget-area">',

    'after' => '</div>',

    ) ); }}

    November 9, 2013 at 2:03 am #71839
    Brad Dalton
    Participant

    That won't work.

    Please use the code from the tutorial i linked to.

    You can then use the Genesis Slider widget in the new widget area.


    Tutorials for StudioPress Themes.

    November 9, 2013 at 1:17 pm #71890
    clarkscondensed
    Member

    I must be an idiot - I copied and pasted that exact code, and that widget area shows up, but the slider is still not showing up!

    November 9, 2013 at 5:21 pm #71910
    Brad Dalton
    Participant

    I don't own that theme so hard to test but i did test on the Magazine Pro theme right now and works perfectly.

    Does the Developer of your theme offer support?

    after header

    Here's the new widget which i populated with a calender widget.

    Where did you paste the code?


    Tutorials for StudioPress Themes.

    November 9, 2013 at 9:47 pm #71948
    clarkscondensed
    Member

    It turns out that it does show up. My browsers, for some reason, won't show me changes I make on this site (itsyummi.com) it is showing up. However, I'd like it to show up in the Genesis Loop hook, so it doesn't take up so much space. Would I change this:

    add_action( 'genesis_after_header', 'your_widget' );

    to this:

    add_action( 'genesis_loop', 'your_widget' );

    Thank you for all your help so far.

    November 9, 2013 at 10:24 pm #71956
    Brad Dalton
    Participant

    You can use any of these these.

    I suggest the genesis_before_loop hook


    Tutorials for StudioPress Themes.

    November 9, 2013 at 10:25 pm #71958
    clarkscondensed
    Member

    Great, thank you! I'll see if that works.

    November 9, 2013 at 10:29 pm #71959
    clarkscondensed
    Member

    Well I did that, but it seems to have removed the slider altogether...is there anything else I need to change in that code? This is all in the functions.php folder

    November 9, 2013 at 10:39 pm #71961
    Brad Dalton
    Participant

    Make sure the slider widget area is populated.

    Otherwise you may have an error in the code.

    If you paste code here, please add it to a Github Gist and embed it here.


    Tutorials for StudioPress Themes.

    November 9, 2013 at 10:47 pm #71963
    clarkscondensed
    Member

    I made sure that the genesis widget was placed in the widget area, but no luck.

    Here is the code I have in the functions.php file

    <script src="https://gist.github.com/anonymous/7393947.js"></script>

    November 9, 2013 at 10:49 pm #71965
    clarkscondensed
    Member

    Hmm..that didn't seem to work. Here is the link:

    November 9, 2013 at 11:10 pm #71970
    Brad Dalton
    Participant

    The widget i.d needs to match the function


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 14 posts - 1 through 14 (of 14 total)
  • The forum ‘Design Tips and Tricks’ 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