• Resolved Stergos

    (@stergos)


    Hi I am using a twenty eleven child theme and I am trying to create a new template. I follow everything describes here but the result I get is bad. The title and the sidebar is appear too low in the page.
    Take a look at this image.

    The code I use is:

    <?php
    /**
     * Template Name: example
     *
     * Selectable from a dropdown menu on the edit page screen.
     */
    ?>
    
    <?php get_header(); ?>
    
    		<div id="primary">
    			<div id="content">
                                    <?php the_post(); ?>
                                    <?php get_template_part( 'content', 'main' ); ?>
    
    				<?php comments_template( '', true ); ?>
    
    			</div><!-- #content -->
    		</div><!-- #primary -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    Please I need some advice, thanks in advance!!!

Viewing 1 replies (of 1 total)
  • Thread Starter Stergos

    (@stergos)

    Creating templates is supposed to be easy, I only need a clone of “Sidebar Template” on twenty eleven… Anyone please?

Viewing 1 replies (of 1 total)

The topic ‘New custom template issue!’ is closed to new replies.