WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Recent posts - links broken (4 posts)

  1. adger560
    Member
    Posted 6 years ago #

    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

  2. adger560
    Member
    Posted 6 years ago #

    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?

  3. adger560
    Member
    Posted 6 years ago #

    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

  4. adger560
    Member
    Posted 6 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic