• 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

Minimum Pro Slideshow On Homepage

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 › Minimum Pro Slideshow On Homepage

This topic is: not resolved

Tagged: easing slider, genesis responsive slider, minimum pro

  • This topic has 13 replies, 4 voices, and was last updated 12 years, 4 months ago by notfarnow.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • October 3, 2013 at 4:19 pm #65265
    bamajr
    Participant

    Let me start off by saying, I have already read the other posts, specifically http://www.studiopress.community/topic/minimum-pro-slideshow-on-homepage/#post-59681 and if this topic wasn't closed, I'd ask this question there. My favorite part of this post is

    No need to modify or remove any code whatsoever.

    ...yet the first thing that is done is code 😉

    So, on to my question...

    I'm wanting to do something very similar to the slideshow shown at http://tavphotography.com - its a great looking page and the slideshow works nicely. So, I'm leaning toward the Easing Slider Pro plug-in over the Genesis Responsive Slider.

    My concern is, when the Minimum Pro Child Theme gets updated, the possibility of loosing the code, added to the function.php file.

    So, is there not a way, to hook the Easing Slider Pro plug-in, using the Genesis Simple Hooks Plugin, without touching any code, in the function.php file?

    http://worldwidevillage.org
    October 3, 2013 at 5:59 pm #65283
    Brad Dalton
    Participant

    Your child themes functions aren't changed when Genesis is updated.

    You can easily hook in most slider plugins and the best methos of doing this is to use your child thees functions.php file.

    All you need to do is paste the code from the snippet you linked to above in your child themes functions.php file.

    You can also modify the code if you want to use the simple hooks plugin.

    This tutorial includes the code you can use in simple hooks http://wpsites.net/best-plugins/8-ways-to-install-easing-slider-pro-version-on-your-home-page/


    Tutorials for StudioPress Themes.

    October 3, 2013 at 6:51 pm #65290
    bamajr
    Participant

    @braddalton - Sorry, I wasn't talking about Genesis itself, being updated. I was talking about the Minimum Pro Child theme being updated. Sorry if I wasn't clear.

    Also, I may not be clear on the use of the Genesis Simple Hooks plug-in. This plug-in already has a "genesis_after_header" hook. So, does one use:

    function display_slider_after_header_home() {
    if (is_home() && function_exists('easingsliderpro') ) { 
    easingsliderpro( 1 );
       
       }
     
    }

    or, does one use:

    add_action('genesis_after_header', 'display_slider_after_header_home');
    
    function display_slider_after_header_home() {
    if (is_home() && function_exists('easingsliderpro') ) { 
    easingsliderpro( 1 );
       
       }
     
    }

    I'm asking because it seems to me that while the function could be put in the "genesis_after_header" hook area, of the Genesis Simple Hooks plug-in, the add_action still needs to occur.

    October 3, 2013 at 7:36 pm #65296
    Brad Dalton
    Participant

    I suggest you use the 2nd snippet in your child themes functions.php file as this is the best method for efficiency.


    Tutorials for StudioPress Themes.

    October 4, 2013 at 3:04 am #65327
    timbarry
    Member

    I use the https://soliloquywp.com slider plugin on miminum - works really well.

    To get in on the home page put this in the functions.php file:

    /** Add the featured image section */
    add_action( 'genesis_after_header', 'minimum_featured_image' );
    function minimum_featured_image() {
    	if ( is_home() ) {
    		echo '<div id="slide-wrap">';
    		if ( function_exists( 'soliloquy_slider' ) ) soliloquy_slider( '26' );
    		echo '</div>';
    	}
    	elseif ( is_singular( array( 'post', 'page' ) ) && has_post_thumbnail() ){
    		echo '<div id="featured-image">';
    		echo get_the_post_thumbnail($thumbnail->ID, 'header');
    		echo '</div>';
    	}
    }
    October 4, 2013 at 6:38 am #65335
    bamajr
    Participant

    @braddalton & @timbarry - I appreciate both of your suggestions and feedback.

    I'm not saying your suggested methods wont work. I'm absolutely sure they will. However, what I'm asking is:

    Is there is an effective and efficient way to hook the EasingSliderPro, from within the Genesis Simple Hooks plug-in, rather than directly modifying the functions.php file, of the child theme?

    October 4, 2013 at 5:54 pm #65406
    Brad Dalton
    Participant

    Yes there is. This code works for the Pro version.

    https://gist.github.com/braddalton/6043133


    Tutorials for StudioPress Themes.

    October 5, 2013 at 9:41 am #65471
    bamajr
    Participant

    Awesome @braddalton! That is what I was looking for!

    I'm using images that are 1600px X 1050px and the slideshow is not centered (I'm sure this is a basic CSS change), nor is it stretching to the full width of the screen, as the images do on http://tavphotography.com/ I know the EasingSliderPro settings only you to specify the dimensions in pixels and then whether or not you want to make it responsive. So I'm curious if these two issues are a setting I'm missing, or more code I need to modify?

    October 5, 2013 at 7:04 pm #65505
    Brad Dalton
    Participant

    I used the Soliloquy slider for this and it worked perfectly. http://wpsites.net/best-plugins/installing-full-width-responsive-slider/


    Tutorials for StudioPress Themes.

    October 7, 2013 at 11:21 am #65684
    bamajr
    Participant

    So again, @braddalton, I'm not the PHP expert I should be, but I want to use Genesis Simple Hooks to hook this plugin.

    When you helped me with the EasingSliderPro, the PHP looked like this:

    
    <?php if ( is_front_page() && function_exists('easingsliderpro') ) { easingsliderpro( 1 ); } ?>
    

    So, would the same format work, for the Soliloquy Slider?

    Would it look like this:

    
    <?php if ( is_front_page() && function_exists('soliloquy_slider') ) { soliloquy_slider( 'home-page' ); } ?>
    

    ...or did I mess that up, completely? 😉

    October 7, 2013 at 1:01 pm #65695
    bamajr
    Participant

    Ok, ok...

    I answered my own question.

    Yes, the Soliloquy Slider can be hooked with the Genesis Simply Hooks plugin, using the following php:

    
    <?php if ( is_front_page() && function_exists('soliloquy_slider') ) { soliloquy_slider( 'Soliloquy-Slider-ID-No' ); } ?>
    

    Now, to get the slider image to fill the screen, at 100% width...

    October 17, 2013 at 6:13 pm #67240
    bamajr
    Participant

    Ok... I have the Soliloquy Slider "hooked" but now that I do, I'm thinking I want to go a different direction. I've been playing with the Soliloquy Slider but I'm trying to accomplish something almost identical to what the bxSlider is doing here.

    October 18, 2013 at 2:22 am #67288
    Brad Dalton
    Participant

    I think you may need to use the same slider as used on that site to get that affect.


    Tutorials for StudioPress Themes.

    October 28, 2013 at 6:23 pm #69554
    notfarnow
    Participant

    To get a slider to go behind the header and nav (like http://www.thea21campaign.org/), do you use negative margins and z-index? I would love to know how to do this properly too.

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