Forums

Is it possible to show posts without day, month and year? (5 posts)

  1. MvdL79
    Member
    Posted 3 years ago #

    Okay, I am creating a new website, however the information on it will be partially "timeless", therefor I need several posts to be without date, month and year. Is that possible?

    And I need those posts (without dates) to be on top over the other posts (with dates). E.g. like a forum where you have sticky post, however without any date.

    Is this possible? And if so, how?

  2. t31os
    Member
    Posted 3 years ago #

    Posts can be set as Stickies already if i remember correctly...

    You'd just need sometime thing like this...

    <?php if (is_sticky()) { ?>
     THIS POST IS A STICKY DO SOMETHING
    <?php } else { ?>
     POST IS NOT A STICKY SO PUT EXISTING DATE CODE HERE
    <?php } ?>
  3. MvdL79
    Member
    Posted 3 years ago #

    On page.php? Or where?
    And how do I hide the dates?

  4. MvdL79
    Member
    Posted 3 years ago #

    Nevermind I found the plugin called WP-Sticky. Seems to do what I want. :D

  5. t31os
    Member
    Posted 3 years ago #

    Depends where you want to do it, index.php for when viewing all posts.. single.php for a single post, and archive(s).php for category level viewing etc...

    Glad you got what you wanted anyway... ;-)

Topic Closed

This topic has been closed to new replies.

About this Topic