• Hello!
    I am working on the TwentyTen Theme with Twenty Ten Options. I have been creating quite a few themes but recently ran in to this issue. I have been copying the ‘Default’ template and changing it a bit to create what I need, now I want to insert a custom slide show in to them template: <?php d13slideshow(); ?>

    Following is my Template

    <?php get_header(); ?>
    <div id="home">
    
    <?php d13slideshow(); ?>
    <?php
    		 $liststyle = get_option( 'ttoptions', $ttoptions );
                 if (strlen($liststyle['post_layout']) <= 1 ) $liststyle['post_layout'] = 'index';
                 Get_template_part( loop , $liststyle['post_layout'] );
    			?>
    </div>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer('home'); ?>

    So whenever I insert the slide show around that code, it appears outside of #container#content! I have tried removing the php code in the middle, but that removes the navigation menu as well!

    Link to page: https://www.kindergarten.edu.hk/english_2011/wordpress/#

    Any help, would be appreciated!

  • The topic ‘TwentyTen custom template- how to insert in to #content’ is closed to new replies.