• 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 Theme: Rotate Home Page Image

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 Theme: Rotate Home Page Image

This topic is: resolved

Tagged: minimum, rotate home page image

  • This topic has 17 replies, 3 voices, and was last updated 13 years, 4 months ago by AnitaC.
Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • January 14, 2013 at 9:20 pm #11991
    AnitaC
    Keymaster

    I saw this discussion, however it does not give the outcome of how to rotate the image. I just want to have 3 rotating images that don't link anywhere. Is there a simple way to do this with Minimum?


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

    January 15, 2013 at 9:40 pm #12193
    goddess
    Member

    I am using a very simple image rotation script to do this. The code is here:

    http://snipplr.com/view/69502/basic-php-image-rotation/

    January 16, 2013 at 9:15 am #12295
    AnitaC
    Keymaster

    Thank you @goddess. But how do I use it? It says to save it as rotate.php. What file folder do I copy this to? Where do I save the images and how do I get it to work with Minimum? I don't code 🙂


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

    January 16, 2013 at 9:52 am #12314
    goddess
    Member

    In my theme files, the images folder, I made a new folder called home-page. In it, I included the rotate.php file and all the images I wanted to rotate. YOu can add or delete images from rotation merely by adding or deleting them from that folder.

    Then, in functions.php, should be around line 70, replace the call to /images/sample.jpg to this: /images/home-page/rotate.php

    That's it!

    January 22, 2013 at 4:19 pm #13864
    cdils
    Participant

    Another option is to use the Genesis Responsive Slider, create posts using the desired images as the post featured image, and then set the slider to "do not link to post".

    You'll have to modify functions.php (like Goddess said, around line 70) to remove sample.jpg and insert the slider, like this:
    if ( is_home() ) {
    echo '<div id="home-featured"><div class="wrap">';
    genesis_widget_area( 'home-slider', array( 'before' => '<div class="home-slider widget-area">', ) );
    echo '</div></div>';
    }
    Cheers,

    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. 🙂

    I host a weekly WordPress-focused podcast called Office Hours. I tweet @cdils.

    January 22, 2013 at 4:49 pm #13884
    AnitaC
    Keymaster

    Hi Carrie, thanks for replying. How would I keep those posts from showing up in the Archive or being picked up by the search engines?


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

    January 22, 2013 at 5:04 pm #13895
    cdils
    Participant

    For those individual posts you can go to the Edit Posts > Theme SEO Settings and opt to make the page not archived and not indexed. 🙂


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. 🙂

    I host a weekly WordPress-focused podcast called Office Hours. I tweet @cdils.

    January 22, 2013 at 5:05 pm #13897
    AnitaC
    Keymaster

    Oh, great! Thanks!


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

    January 25, 2013 at 8:11 am #14581
    AnitaC
    Keymaster

    One more question, what should the slider settings be set at to get the full width like the original image?


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

    January 25, 2013 at 8:31 am #14588
    cdils
    Participant

    The original image in the demo is 1600x600. 🙂


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. 🙂

    I host a weekly WordPress-focused podcast called Office Hours. I tweet @cdils.

    January 25, 2013 at 8:37 am #14589
    AnitaC
    Keymaster

    Hummmm, now I have two big images on there. The original image and the slider image.

    Did I register the slider widget correctly:

    genesis_register_sidebar( array(
    'id'                 => 'home-featured', // Feel free to use a more meaningful name here
    'name'             => __( 'Slider', 'minimum' ),
    'description' => __( 'This is a description of my new widget area', 'minimum' ),
    ) );


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

    January 25, 2013 at 8:40 am #14590
    AnitaC
    Keymaster

    Oh, here is what's in the featured area:

    /** Add the featured image section */
    add_action( 'genesis_after_header', 'minimum_featured_image' );
    function minimum_featured_image() {
    if ( is_home() ) {
    echo '<div id="home-featured"><div class="wrap">';
    genesis_widget_area( 'home-slider', array( 'before' => '<div class="home-slider widget-area">', ) );
    echo '</div></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>';
    }
    }


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

    January 27, 2013 at 8:52 am #15286
    AnitaC
    Keymaster

    I responded above. I have played around with the code and still get two featured images on the home page. What did I do wrong in the code provided above?


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

    January 27, 2013 at 9:24 am #15294
    AnitaC
    Keymaster

    So I had to scrap all the custom code and start from the beginning. I have the slider in there but why isn't it full width like the original sample image? I have the slider set at 1600 x 600 and yet it's not showing up that way. What am I doing wrong and will this even work? There's the board around the slider, etc., I wanted a fading image the size and appearance of the sample image. This isn't giving me that effect.


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

    January 27, 2013 at 9:39 am #15300
    cdils
    Participant

    Hi Anita,

    Can you post a link? You may need to edit the CSS for the slider to be the same dimensions. Also, do you use Firebug? That should show you where the border is coming from so that you can remove that from your CSS.

    Carrie


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. 🙂

    I host a weekly WordPress-focused podcast called Office Hours. I tweet @cdils.

    January 27, 2013 at 9:55 am #15303
    AnitaC
    Keymaster

    Here it is - http://ow.ly/halVk. I set it back to the default settings and added my image back because I started getting errors playing around with it.


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

    January 27, 2013 at 10:11 am #15312
    cdils
    Participant

    There's nothing to see to troubleshoot now. 🙂


    Have you been helped in this forum? Pay it forward and answer someone else’s question. I bet you’ll know the answer to at least one question. 🙂

    I host a weekly WordPress-focused podcast called Office Hours. I tweet @cdils.

    January 27, 2013 at 11:14 am #15329
    AnitaC
    Keymaster

    I won't worry about it now. The client wants a theme from Themeforest since I couldn't get this to work. I'm marking this RESOLVED. Thank you for trying.


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

  • Author
    Posts
Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘Minimum Theme: Rotate Home Page Image’ 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