WordPress.org

Ready to get started?Download WordPress

Forums

Sticky Post - In special Category (not front page) (5 posts)

  1. Last Ten
    Member
    Posted 3 years ago #

    I am trying to add a post to be sticky to the top of the page in a special category (not the front page).

    However when I click the sticky button the post goes to the top of the front home page! (I don't want that).

    In a nutshell is there anyway I can sticky a post to the top of the page and not to the top of the front page.

    Hope I have explained this OK.

    Thanks for any pointers guys.

    Peter

  2. equalmark
    Member
    Posted 3 years ago #

  3. Last Ten
    Member
    Posted 3 years ago #

    Thanks equalmark

    With me just being relatively new to WP I am not 100% sure where to add this code into the function.php

    Peter

  4. equalmark
    Member
    Posted 3 years ago #

    Put it right at the bottom before the closing ?>

  5. Last Ten
    Member
    Posted 3 years ago #

    Thanks equalmark for your help, me thinks this is just a bit beyond my capabilities to edit it further.

    I added the code but all it offered was a coloured sticky post on the front page!

    Cheers anyway

    Peter

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.