WordPress.org

Support

Support » Miscellaneous » Post stay on top?

Post stay on top?

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Okay, thanks. =)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post stay on top?’ is closed to new replies.