WordPress.org

Ready to get started?Download WordPress

Forums

Meta Slider
[resolved] Images Stacked (7 posts)

  1. outtacontext
    Member
    Posted 1 year ago #

    I am trying to use your slider in a custom full-width template I'm building within the theme I'm using (the theme, Sentence, doesn't have a full-width template). But the slide show is not working and my images appear stacked on top on each other. Here is the page: http://outtacontext.com/wp2/

    I read a recent thread here with a similar problem but the solutions you suggested didn't help. I'm sure it must have to do with the template I'm trying to construct (I'm a newbie at that). Here is the code for the template:

    <?php
    /*
    Template Name: Past
    */
    ?>
    
    <!DOCTYPE html>
    <html lang="en">
    <head>
    	<meta charset="utf-8" />
    	<title>Jeff's Past | Outtacontext</title>
    
    <link rel="stylesheet" href="<?php echo get_bloginfo('template_url'); ?>/css/layout.css?v=1" type="text/css" media="screen"/>
    <link rel="stylesheet" href="<?php echo get_bloginfo('template_url'); ?>/css/custom.css" type="text/css" media="screen"/>
    
    <!-- google webfont font replacement -->
    <link id="google_webfont_1" rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Varela+Round" />
    
    <?php
    
    	/* add javascript */
    
    	wp_enqueue_script( 'jquery' );
    	//wp_enqueue_script( 'avia-html5-video' );
    	wp_enqueue_script( 'avia-default' );
    	wp_enqueue_script( 'avia-social' );
    	wp_enqueue_script( 'avia-prettyPhoto' );
    	wp_enqueue_script( 'aviapoly-slider' );
    
    	/* We add some JavaScript to pages with the comment form
    	 * to support sites with threaded comments (when in use).
    	 */
    	if ( is_singular() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); }
    
    ?>
    </head>
    
    <body id="past_background">
    <?php wp_head(); ?>
    <div class="past_center">
    <?php echo do_shortcode("[metaslider id=787]"); ?>
    
    </div>
    
    <div id="footer">
     <div id="menu">
     <ul>
     <li><a href="http://outtacontext.com/wp2/index.php">Home</a></li>
     <li><a href="http://outtacontext.com/wp2/blog">Blog Archives</a></li>
     <li><a href="http://outtacontext.com/wp2/artprojects">Art Projects</a></li>
     <li><a href="http://outtacontext.com/wp2/articles">Articles</a></li>
     <li><a href="http://outtacontext.com/wp2/about">About</a></li>
     <li><a href="http://outtacontext.com/wp2/contact">Contact</a></li>
     </ul>
     </div>
    </div>
    <?php wp_footer(); ?>
    </body>
    </html>

    I just want a very simple template and don't want to use any of the design elements of my theme (at this point). The rest of the site looks like this: http://outtacontext.com/wp2/

    http://wordpress.org/extend/plugins/ml-slider/

  2. Matcha Labs
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Hmm, good question! I've pasted that code into my local theme (2012) and it works OK.

    I can see on your theme that the correct code isn't being included by wp_footer(), does your theme have anything in its functions.php file that might overriding wp_footer or altering how it works?

    As usual, try disabling all other plugins and trying with a different theme, usually a good place to start tracking down the problem :)

    Regards,
    Tom.

  3. outtacontext
    Member
    Posted 1 year ago #

    Well, since I'm a newbie at php, here's the function.php code. Do you see anything?

    [Excessive code moderated. Please use a pastebin.]

  4. outtacontext
    Member
    Posted 1 year ago #

    Deactivating all the plugins except this one didn't change a thing.

  5. Matcha Labs
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    I did see the code before it was moderated, and there wasn't anything suspicious in there. As its a premium theme I would suggest you contact the author.

    Sorry I can't help more!

    Regards,
    Tom.

  6. BigBlock1
    Member
    Posted 1 year ago #

    Hello All, I had the same issue with the stacked images. I put the wp_footer() in the footer.php to resolve the issue.

  7. Giles Walburn
    Member
    Posted 1 year ago #

    I have a home brewed child theme based on Twenty Eleven, each time I go to a new page all the slides display briefly then collapse back to the one, not a major problem, just looks a bit odd.

    Some of the Nivo sliders do not work, I assume this is to do with the JigoShop plugin as Nivo Slider is one of the ones I can not use according to their site.

    The issue can be found here: http://www.elitebaseboards.net/
    It works with other themes: Yes
    It works when I disable all other plugins: Yes
    Meta Slider version:1.3
    Slider: Coin Slider

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic