• 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

2nd Slider Area Minimum Theme

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 › 2nd Slider Area Minimum Theme

This topic is: resolved

Tagged: extra widget, minimum, portfolio

  • This topic has 6 replies, 2 voices, and was last updated 13 years, 6 months ago by AnitaC.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • April 14, 2013 at 11:25 pm #35510
    BossLady
    Member

    I replaced the header image with a slider - all is perfect! I then added a second slider to the homepage using the same instructions (a couple of tiny tweaks because can't have same IDs, etc. The only problem I'm having now is it is sitting directly below the 1st slider, but I need it to go after the 4 home featured widgets. I'm sooo close!

    In my functions. php I have

    /** Add the portfolio slider section */
    add_action( 'genesis_after_header', 'minimum_portfolio_slider' );
    function minimum_portfolio_slider() {
    if ( is_home() ) {
    echo '';
    genesis_widget_area( 'portfolio-slider', array('before' => '', ) );
    echo '';
    }
    elseif ( is_singular( array( 'post', 'page' ) ) && has_post_thumbnail() ){
    echo '';
    echo get_the_post_thumbnail($thumbnail->ID, 'header');
    echo '';
    }
    }

    And it is registered...

    genesis_register_sidebar( array(
    'id' => 'portfolio-slider',
    'name' => __( 'Portfolio Slider', 'minimum' ),
    'description' => __( 'Place Soliloquy slider here and select Portfolio', 'minimum' ),
    ) );

    I put the following in home.php right after the 4 home features, but when I do it pushes the new widget to the very top:

    echo '<div id="';

    genesis_widget_area( 'portfolio-slider', array(
    'after' => '',
    ) );
    echo '';

    I feel like I'm on the right track, I just need a nudge in the right direction to get it the rest of the way there...

    Thanks so much!!

    April 15, 2013 at 5:45 am #35527
    AnitaC
    Keymaster

    Hi BossLady, can you share a link to your site. I can look to see what your home looks like now and also at the DIV's.


    Need help with customization or troubleshooting? Reach out to me.

    April 15, 2013 at 8:44 am #35555
    BossLady
    Member

    Can I send you a link with a login/pw? Client needs it to stay hidden. I'd like to send you 2 - one for the regular site, one for a "test" on a subdomain. The test one I didn't put a slider in the top, but I used the following on the home page instead of the larger piece of code in the functions:

    /** Add home portfolio thumbnail area */
    add_action( 'genesis_before_loop', 'minimum_home_portfolio' );
    function minimum_home_portfolio() {
    dynamic_sidebar( 'home-portfolio' );
    }

    When I put that in the "real" site, it doesn't show up anywhere at all. I'm not new to creating divs and playing with php, but I am new to Genesis, so I'm still getting the hang of things. I am actually go to switch to a different (Genesis) theme because I'm just not "feeling it" with this one for this particular purpose, but I still would a little help on this for future sites. I'm really loving how fast and clean Genesis is!

    Thanks so much, AnitaC!

    April 15, 2013 at 8:45 am #35556
    BossLady
    Member

    Aw jeez... you're going to have to tell me how to pm you... For some reason I'm so technologically inept when it comes to using forums, lol

    April 15, 2013 at 9:23 am #35563
    AnitaC
    Keymaster
    This reply has been marked as private.
    April 15, 2013 at 10:47 am #35580
    BossLady
    Member

    WAHOOO!!! I got it!! Yeesh... What happened was I had set it up on the test site first, which didn't already have a slider section. So when I added it to the "real" site I had to change the name so it didn't conflict. But I copied/pasted that sweet little piece of code from the test site and forgot the change the name. When I didn't see it I put code on the functions page instead. Good. Gravy. Got the name changed and put it on the home page, took the extra code out of the functions.php, et voilà! Works perfectly 🙂

    Thanks for your willingness to help, AnitaC ~ I truly appreciate it 🙂

    April 15, 2013 at 1:18 pm #35597
    AnitaC
    Keymaster

    Great! Sorry I could respond to you via email. I had another urgent issue. Please change your passwords to your dashboards.


    Need help with customization or troubleshooting? Reach out to me.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘2nd Slider Area Minimum Theme’ is closed to new 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