WordPress.org

Ready to get started?Download WordPress

Forums

Problem with dates on posts (5 posts)

  1. crazyforsavings
    Member
    Posted 3 years ago #

    I am having a problem with dates on my posts. I figured out how to get it how I want it on individual posts, but when you click on a specific page, it reverts back to the old date style, even on the same post that has it correctly individually. (does that make sense?)

    Here are my examples:

    Correct way: http://www.crazyforsavings.com/2011/05/02/walgreens-weekly-deals-may-1-7/

    Wrong way: http://www.crazyforsavings.com/category/stores/walgreens/

    How in the world do I fix this? I have been trying for a few weeks with no luck :(

    Thank you to anybody that is able to help!

  2. jkovis
    Member
    Posted 3 years ago #

    http://www.crazyforsavings.com/category/stores/walgreens/

    - This is a category page, which lists all posts categorized as "Walgreens." If you don't want to have category pages just delete all the categories.

    - Note that WordPress automatically categorizes posts as "Uncategorized" if you don't specify a category so http://www.crazyforsavings.com/category/uncategorized will still list posts.

    - See http://codex.wordpress.org/Posts_Categories_SubPanel for more information on categories.

  3. alchymyth
    Forum Moderator
    Posted 3 years ago #

    the single post and the post on a category archive page are using different template files;
    single.php vs. category.pgp or archive.php

    try to make the same changes to the date code in the loop in category.php/archive.php, as you have made in single.php

  4. crazyforsavings
    Member
    Posted 3 years ago #

    Thanks! I got it to work, however now the actual post is a different color and the font changed. Any ideas on how to fix?

  5. crazyforsavings
    Member
    Posted 3 years ago #

    Nevermind, got it! Thanks for the help =)

Topic Closed

This topic has been closed to new replies.

About this Topic