Forums

Meteor Slides
insert into toommorel-lite theme (2 posts)

  1. richphoto8789
    Member
    Posted 4 months ago #

    I am trying to get this slide show inserted on the home page where there is now a static image, I do not see any way that this theme can know to get the slide show into that section unless it was published with a link to it
    here is the site http://loyola-malawi.org/
    here is the theme
    http://wordpress.org/extend/themes/toommorel-lite
    any help would be much appreciated

    Thank you

    http://wordpress.org/extend/plugins/meteor-slides/

  2. JLeuze
    Member
    Posted 3 months ago #

    Hi, it looks like that image is added via the theme's options page, you won't be able to choose a slideshow from that options page, but you can pretty easily edit your theme's homepage template to replace it with a slideshow.

    Edit the theme's front-page.php file and delete this bit of code that starts on line 40:

    <?php if ( get_option('inkthemes_slideimage1') !='' ) { ?>
                            <div class="images"><img title="slideimage1" src="<?php echo get_option('inkthemes_slideimage1'); ?>"  alt="" /></div>
                            <?php } else { ?>
                            <div class="images"><img title="Top Section" src="<?php echo get_template_directory_uri(); ?>/images/iphone-slide.png" alt="" /></div>
                            <?php } ?>

    Replace it with this code to add the slideshow:

    <div class="images"><?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?></div>

Reply

You must log in to post.

About this Plugin

About this Topic