Title: Template does weird
Last modified: August 19, 2016

---

# Template does weird

 *  [LeopardCT](https://wordpress.org/support/users/leopardct/)
 * (@leopardct)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/template-does-weird/)
 * I made a template in Artisteer.
    On the Home Page, all looks great. Once you 
   click on a ‘Read More’ button, hwoever, everything in the right hand side of 
   the screen disappears…
 * Anyone any idea what might cause this problem?
    Or how to fix it…

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/template-does-weird/#post-1358119)
 * link to your site?
 * Home page usually uses the index.php template, whereas after clicking the read
   more, single.php is frequently use….so compare and look for areas where there
   is a problem. You may be missing the call to the_sidebar for instance.
 * When you say you made a template….you mean an entire theme? Or a template within
   a theme? If it is a template within a theme…which one is it? a standard template?
   A page template?
 *  Thread Starter [LeopardCT](https://wordpress.org/support/users/leopardct/)
 * (@leopardct)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/template-does-weird/#post-1358385)
 * hi, thank you for your extensive reply!
 * first: the link is:
    [http://aernoutzevenbergen.co.za/Scribbles/](http://aernoutzevenbergen.co.za/Scribbles/)
 * i made a theme indeed with Artisteer (sorry for the confusion)
 * i guess my single.php has a few conflicts, because it is also impossible to comment,
   despite the visible option on-screen to add a comment.
 * so, what i need to do is compare index.php with single.php?
 *  Thread Starter [LeopardCT](https://wordpress.org/support/users/leopardct/)
 * (@leopardct)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/template-does-weird/#post-1358386)
 * in single.php I found this line:
 * <?php include (TEMPLATEPATH . ‘/sidebar1.php’); ?>
 * This line is identical to the line in – for example – archive.php.
    In archive
   it does work, but clearly not in single.php
 *  Thread Starter [LeopardCT](https://wordpress.org/support/users/leopardct/)
 * (@leopardct)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/template-does-weird/#post-1358443)
 * does anyone have any idea on how to solve this?
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/template-does-weird/#post-1358445)
 * I’m afraid you are missing things on your single.php
 * looking at your source code…..take a look at the[ validator](http://validator.w3.org/check?uri=http%3A%2F%2Faernoutzevenbergen.co.za%2FScribbles%2Faha-the-ipad&charset=%28detect+automatically%29&doctype=Inline&group=0)
   for your code when looking at a single post
 * you will need to clean things up here….you don’t call to your footer at all I’m
   guessing. Because of that you have no closing </body> or </html> tags…and I’m
   betting you are missing several </div> closing tags too. If you just get everything
   valid, your sidebar may show back up to the party…!
 *  Thread Starter [LeopardCT](https://wordpress.org/support/users/leopardct/)
 * (@leopardct)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/template-does-weird/#post-1358446)
 * wow – fantastic feedback! thank you!
    i had a look at the validator, and see 
   what a mess the single.php is… imagine that: it comes straight from the stables
   of artisteer. I never touched it.
 * Will have a look at what I can do to clean it up.
 * Again: thanks!
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/template-does-weird/#post-1358447)
 * sure! again…best bet may be to compare it with something else…maybe archive.php
   or index.php
 * You obviously won’t match them up, as parts of the files are different for a 
   reason. But you can compare them for structural reasons. I’m thinking the main
   thing may be simply single.php is missing
 * `<?php get_footer(); ?>`
    it should be one of…if not the last line
 * If you don’t have that line in your single.php anywhere, add it in (or however
   your footer is called…reference the other templates to see how they do it) Getting
   the footer in place should close the body, html and some divs too…..then you 
   can try the validator again, and go from there

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Template does weird’ is closed to new replies.

## Tags

 * [artisteer](https://wordpress.org/support/topic-tag/artisteer/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/template-does-weird/#post-1358447)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
