• Resolved aidanl

    (@aidanl)


    Hi,

    I am in the process of creating my own theme and I have hit a snag. It’s nearly complete however, I am having a problem when I am clicked a blog entry link on the main blog page.

    I want to be able to click the link so that it displays just that and the comments area – as you should be able to on a blog.

    The problem I am having is that when you click on the link it isn’t loading the individual entry and instead it is just reloading the blog home page. I imagine something is adrift somewhere, however, I have used the same files on another blog theme which worked fine.

    Any help with this would be much appreciated.

    Thanks in advance,

    Aidan

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

    (@aidanl)

    I solved the problem by placing the get sidebar code in the Main Index Template (index.php file) at the very top of the file. See below:

    <?php get_header(); ?>
    <?php get_sidebar(); ?>
    
    <div id="content"><!--container start-->
    
    	<?php if(have_posts()) : ?><?php while(have_posts()) : the_post();?
Viewing 1 replies (of 1 total)
  • The topic ‘Link problem’ is closed to new replies.