• Resolved outtacontext

    (@outtacontext)


    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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • matchalabs

    (@matchalabs)

    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.

    Thread Starter outtacontext

    (@outtacontext)

    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.]

    Thread Starter outtacontext

    (@outtacontext)

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

    matchalabs

    (@matchalabs)

    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.

    BigBlock1

    (@bigblock1)

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

    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Images Stacked’ is closed to new replies.