Meteor Slides Home Page Header Only

Community Forums Forums Design Tips and Tricks Meteor Slides Home Page Header Only

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  David Chu 2 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #36922


    Hi, Can anyone help me to specify the meteor slide show for use in the home page header only?

    David Chu

    Here’s a way to do it. You’ve run into one of the biggest fans of Meteor Slides… I love that plugin. :-) Josh is awesome. This block of code would go in your functions.php.

    add_action ( ‘genesis_header’, ‘dc_add_meteors’ );
    function dc_add_meteors() {
    	if ( is_home() ) {
    		if (function_exists(‘meteor_slideshow’)) {

    Some edits might be needed – in some contexts, “is_front_page” works better than “is_home”. Also, when you invoke the meteor slideshow, if you have several of them, you’ll need to specify which one, like meteor_slideshow(3) or what-have-you. I see you have the Genesis background header image working up there…. you’d have to take this out or fiddle with it to get the Meteor Slides to fit in that context.


    Dave Chu ยท Custom WordPress Developer – likes collaborating with Designers

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.