Meteor Slides
Adding slidshow to homepage (4 posts)

  1. JustAnotherFoodBlogger
    Posted 1 year ago #

    Hi there!

    I know this question has been asked before but I think I need a more detailed explanation:

    I'd like to add the slideshow to my homepage, right above the featured post. I have a Genesis child theme and I pretty much customized the whole thing myself but I'm still a newbie.

    Where exactly would I have to add some code (and what code) to make the slideshow appear on my homepage? This is my blog: http://www.thecleandish.com

    Thank you so much in advance!!


  2. Josh Leuze
    Plugin Author

    Posted 1 year ago #

    Hi, so you want to add the slideshow on your homepage, below the header and above the top post, is that correct?

    Is your site using a Genesis template file for the homepage, or so you have something like a home.php file on your child theme? If the homepage layout is controlled by a file in your child theme, you could edit that directly and add the slideshow template tag. Otherwise if this is handled in Genesis, you can use a hook in your functions.php file to insert the slideshow.

    Let me know how your homepage is setup and I can give you more details on what you need to do to add the sideshow.

  3. JustAnotherFoodBlogger
    Posted 1 year ago #

    Josh, first of all, thank you so much for trying to help me!

    I couldn't see a home.php file (perhaps I wasn't looking in the right place?) I have only made changes to the child theme style sheet so far.
    This child theme has Theme Functions and Landing Page templates. Does that help?

    I had already looked for a home.php last week as I saw your response to someone else who was attempting to do the same thing but I can't see it anywhere.

    Thanks for your time & patience :)

  4. Josh Leuze
    Plugin Author

    Posted 1 year ago #

    Great, if you don't have a template file in your child theme to edit for the homepage, than you can use a hook to insert the slideshow into the homepage.

    To do this I would use the Genesis Simple Hooks plugin. It might take some trial and error to find the right hook, start by trying the "genesis_before_loop".

    Add the slideshow template tag into that hook, and be sure to select "Execute PHP", so that the tag runs:

    <?php if ( is_front_page() ) {
    if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.