• Hello, i try to put the slideshow only on homepage after menu with a child twenty twelve theme.

    I try to use this code…but nothing happen…so hw can i put the slider after menu?

    <?php
    /**
     * Template Name: HomePage
     *
     * This is the template that displays all pages by default.
     * Please note that this is the WordPress construct of pages
     * and that other 'pages' on your WordPress site will use a
     * different template.
     *
     * @package WordPress
     * @subpackage Twenty_Twelve
     * @since Twenty Twelve 1.0
     */
    
    get_header(); ?>
    
    	<div id="primary" class="site-content">
    
      <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>
    		<div id="content" role="main">  
    
    			<?php while ( have_posts() ) : the_post(); ?>
    				<?php get_template_part( 'content', 'page' ); ?>
    			<?php endwhile; // end of the loop. ?>
    
    		</div><!-- #content -->
    	</div><!-- #primary -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Thanks a lot

    https://www.ads-software.com/plugins/meteor-slides/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Josh Leuze

    (@jleuze)

    Hi, I would try putting the slideshow function right after the header if you want to add it to that file, like this:

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

    You might have to use the slideshow function in the header.php file instead depending on how you want it laid out on the page, but either way the slideshow should display.

    Is the slideshow not displaying at all, or only displaying in the wrong position? Can you post a link so I can take a look?

    Thread Starter serviceweb

    (@serviceweb)

    Hello…thanks for reply but nothing resolve…

    I try to put the code but nothing change.

    See here servizieweb.esy.es/

    Plugin Author Josh Leuze

    (@jleuze)

    Hi, did you get this working?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem on Twenty Twelve home page’ is closed to new replies.