• Resolved smittyhead

    (@smittyhead)


    Ok I’m having some major problems getting this one to work. I have the lovely job of trying to get a specific slideshow per page on our website. Is this possible using your plugin?

    I know you have covered over and over again about having multiple slideshows, this one may be a new twist or I’m just having issues of my own ??

    Thanks

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter smittyhead

    (@smittyhead)

    ok I found the problem, did a bit of research and finally figured it out with the help of all the resources out there. Someone else was doing the same thing with another plugin in the header, heres what I found out for anyone else that needs it:

    <?php if (is_front_page()) : ?>
    <div align=”center” id=”header”>
    <?php if ( function_exists( ‘meteor_slideshow’ ) ) { meteor_slideshow(“generic”, “”); } ?>
    </div><!– #header –>

    <?php elseif (is_page(‘about’)) : ?>
    <div align=”center” id=”header”>
    <?php if ( function_exists( ‘meteor_slideshow’ ) ) { meteor_slideshow(“about”, “”); } ?>
    </div><!– #header –>

    <?php endif; ?>

    Hope this saves someone else some time

    Plugin Author Josh Leuze

    (@jleuze)

    Awesome, thanks for sharing your solution!

    nhviscom

    (@nhviscom)

    Hey there, first of all thanks a lot for sharing!!
    I have a Question:
    I’ve embedded the same snippet and search for an additional code who does something like “for all the rest of the pages & posts use this slideshow: …”

    has someone out there any idea? ??

    here’s the code i use for the rest:

    <div class="headerimage">
       <?php if (is_front_page()) : ?>
            <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow("startseite", ""); } ?>
    
            <?php elseif (is_page('beispiel-seite')) : ?>
            <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow("testseite", ""); } ?>
       <?php endif; ?>
    </div>

    thank you bloggers,
    greetings nadia

    Plugin Author Josh Leuze

    (@jleuze)

    Hi Nadia, so you want to load one slideshow for the homepage, another one for the “beispiel-seite” page, and then have a default slideshow for all other pages?

    To do that, try something like this:

    <div class="headerimage">
       <?php if (is_front_page()) : ?>
            <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow("startseite", ""); } ?>
    
            <?php elseif (is_page('beispiel-seite')) : ?>
            <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow("testseite", ""); } ?>
    
            <?php else : ?>
            <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow("default", ""); } ?>
    
       <?php endif; ?>
    </div>
    nhviscom

    (@nhviscom)

    Josh thanks a lot – that’s exactly what i was looking for!!
    thank you, you’re my wordpress guru ?? have a nice weekend

    Plugin Author Josh Leuze

    (@jleuze)

    No problem, you’re welcome ??

    I want to have slide show as the header on the Front Page
    and other the another header (the same one) on all other pages… If i put the code in the header.php file then ALL headers will be the slide show… what do i do? It would be nice if there was a widget that handled this..since i am not that good with code. thank u so much.

    Plugin Author Josh Leuze

    (@jleuze)

    You need to use a conditional tag to only use the slideshow template tag on the homepage like this:

    <?php if ( is_front_page() && !is_paged() ) {
    
    	if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); }
    
    }?>

    Great thank you!.. so it goes in the header.php file?
    im using the adventure-journal template

    THis is what i did and this worked.. Thanks!

    I added the “if” code below, which loads the plugin and then added the “else” block
    below it to load the original image whenever it was not the front page. Also added a “}” to end the else statement.

    */
    		    if ( is_front_page() && !is_paged() ) {
    			if ( function_exists( "meteor_slideshow" ) ) { meteor_slideshow(); }
    		     }
    		     else {?>
                            <img src="<?php header_image(); ?>" width="<?php echo HEADER_IMAGE_WIDTH; ?>" height="<?php echo HEADER_IMAGE_HEIGHT; ?>" alt="" />
    		    <?php } ?>
                    <?php }  ?>

    [Please post code snippets between backticks or use the code button.]

    I cant seem to get the concept of “SLIDE SHOWS” i have created 2 shows when i look but they contain 0 slides.. how do u get slides into a show and how would you position on show next to the other.. my goal is to do something like https://www.ottopizzeria.com

    Plugin Author Josh Leuze

    (@jleuze)

    Slideshows is a custom taxonomy for the slides post type. They works just like categories for blog posts. You create the slideshows, and then you add the slide posts to those slideshows, then when you load a specific slideshow, it will only contain the slides that have been added to that slideshow.

    There is a little more info about multiple slideshows in the documentation.

    Do you have a video on:
    1. how to create a slide show?
    2. how to create a multiple slide show?
    3. do you think it would be possible to create 3 slides shows next to
    each other so you get an effect like this:
    https://www.ottopizzeria.com
    Thank you . LOVE THE WIDGET…..
    heres what it looks like
    https://www.bolognaitalyrestaurants.com

    Plugin Author Josh Leuze

    (@jleuze)

    Sorry, I plan to make more videos, but I don’t have one on multiple slideshows yet.

    Yes, you can place three next to each other, you just need to use a little CSS to float them so they fit next to each other.

    No problem, glad you are liking it so far!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: Meteor Slides] headers with different slide shows per page’ is closed to new replies.