Forums

[resolved] Title of Last Post Becomes Title for All Posts (7 posts)

  1. global.dating.advice
    Member
    Posted 1 year ago #

    Hello,

    If you take a look at my site

    globaldatingadvice.com/blog

    you will notice that within the "categories" and "archives" sections that the last post becomes the header for all the subsequent posts. Not only does it eliminate the title of any of the previous posts, it also makes all of the previous posts link to the latest post through the new header.

    Any ideas on how to fix this?

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    do you remember editing anything before that happened?
    or did you activate a new plugin?

    otherwise, there is probably something gone wrong in archive.php of your theme:

    could you paste the code of archive.php into a http://wordpress.pastebin.com/ and post the link to it here?

  3. global.dating.advice
    Member
    Posted 1 year ago #

    I did paste this piece of code

    .path {
    color:#FFFFFF;
    font:1.6em Pristina,sans-serif;
    }

    into my style.css sheet, and also activated the Edit Page, List Design plugin. I have since removed both the code and deactivated the plugin, but the problem is persisting.

  4. global.dating.advice
    Member
    Posted 1 year ago #

    Also,

    I pasted the code as you requested right here

    http://wordpress.pastebin.com/PtM1YMqm

  5. MAS
    Member
    Posted 1 year ago #

    edit this line <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> with <?php //$post = $posts[0]; // Hack. Set $post so that the_date() works. ?>

  6. global.dating.advice
    Member
    Posted 1 year ago #

    Thank you chinmoy29. Your post completely resolved my problem :)

  7. MAS
    Member
    Posted 1 year ago #

    you're welcome.:)

    regards
    Chinmoy

Topic Closed

This topic has been closed to new replies.

About this Topic