WordPress.org

Ready to get started?Download WordPress

Forums

Post stay on top? (3 posts)

  1. Sparky
    Member
    Posted 8 years ago #

    1. Is there a way to make one post always stay on top of the index page, but dissapears on every other page?

    2. Is there a way to make the date/timestamp dissappear for one post?

  2. Kafkaesqui

    Posted 8 years ago #

    1. Use this plugin, and where you want the post to appear, add this:

    <?php
    if(is_home()) :
    get_a_post(100);
    ?>

    ~ The "one post" template tags, etc. go here ~

    <?php endif; ?>

    2. Depends. Which post is the one post you want it to disappear from? If the one mentioned in (1), just don't make use of the_date() or the_time() template tags with it.

  3. Sparky
    Member
    Posted 8 years ago #

    Okay, thanks. =)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.