• The site has been working fine for the last two months It has been up but all of a sudden both “(x) comments” and “View full entry” direct to the first posts full post. It doesn’t matter if I post a new post it’s always directed to the top post. I’m stumped as to how this happened all of a sudden.

    We had the website rebuilt with wordpress, so this is my first time using wordpress but I do have some website experience. I just have no idea where to start.

    Thanks for any help,
    adam

    Website located at: calmaritime.net
    running version 3.3.1

Viewing 3 replies - 1 through 3 (of 3 total)
  • I suggest having your theme developer take a look at the loop and see if it closing properly. Some helpful links: The Loop & Reset Query.

    Thread Starter afarnsworth

    (@afarnsworth)

    What would closing properly mean?

    I’ve done some reading about the loop. I have done computer programming so I’m familiar with C++ which isn’t quite php, but I have an understanding of while loops and how code is executed.

    It says:<a href="<?php the_permalink(); ?>"><?php comments_number(); ?></a> | <a href="<?php the_permalink(); ?>">View Full Entry</a>

    in a file named “loop-news.php” (I’m not sure if that’s a standard file or custom).

    I interpret it is it goes and finds the link to the post, decides how many comments and provides a link. Could it be that the_permalink is pointing to the wrong link? Where does the_permalink get it’s information from?

    Or am I going in the complete wrong direction. I apologize for trying to learn some php in a user forum. The developer isn’t really helping much.

    try to find out which template is used to show the ‘NEWS’ section;
    (the same is used in the ‘news archive’ page)

    (too bad your developer removed the ‘body_class()’ function from the used base Twenty Ten theme, which could have helped to locate certain templates…)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘"View full entry" Directs to wrong post’ is closed to new replies.