• Resolved adger560

    (@adger560)


    Hi,

    this is my blog http://blog.thefilmlounge.co.uk/

    if you click onto any of the recent post links, they just link to a weird home page where none of the posts are active.

    This is my code for the widget

    <li class="widget">
    <li id="recent"><h2>Recent Articles</h2>
    <ul>
    
    <?php query_posts('showposts=10'); ?>
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <li><a href="<?php the_permalink() ?>"><?php the_title() ?></a><span class="recent_date"><?php the_time('j.n') ?></span></li>
    <?php endwhile; endif; ?>
    <li><span class="visit"><a href="<?php bloginfo('url'); ?>/archives" title="Visit the Film Lounge archives!">Visit the archives for more!</a></span></li>
    </ul>
    </li>
    <li class="widget">

    I have set my permalinks to default, as I have had problems with permalinks. If anyone can see what is wrong I’d be very grateful.

    Alex

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter adger560

    (@adger560)

    I have discovered, that despite my links being pointed to the correct permalinks, none of my pages or entries are being generated within my content container. Ie, all the pages look like the index.php, does anyone have an Idea which php document would be the likely offender which is causing this to happen?

    Thread Starter adger560

    (@adger560)

    This is definitely the route of my problems, as even in the header of my windows, the correct title appears, but the content remains unchanged, I have tried tinkering with the index.php, single.php, and header.php, but nothing has helped me yet. If anyone has any suggestions id be very grateful. Thanks, Alex

    Thread Starter adger560

    (@adger560)

    I have edited the single.php,
    this has solved my problem,
    the single.php I was using was broken.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Recent posts – links broken’ is closed to new replies.