WordPress.org

Forums

Sticky Post (3 posts)

  1. Jabbok
    Member
    Posted 10 years ago #

    Does anyone know of a way to assign a "Sticky Post" to the sidebar?

  2. groovenectar
    Member
    Posted 10 years ago #

    To the sidebar?? Do you mean that when writing or editing a post, you would have the option of adding a link to the post on the sidebar? So, you would want to "feature" certain posts? If there are posts that you would like to have stand out in the sidebar, you can add a section in your links. Perhaps you might even consider editing your sidebar template and adding them. I see that you have installed the Sticky Post plugin for your main column, perhaps Adhesive from http://www.asymptomatic.net/_wp-hacks. Maybe you could add some sidebar code that detects if there are any sticky posts currently on the page, and if so, add them to a sidebar section called "Sticky."

    From reviewing the source, it looks like Adhesive adds a metakey to a post called "sticky" which can be 1 or 0. The DB table that holds metakeys can be access using $wpdb->postmeta ...

  3. Kafkaesqui

    Posted 10 years ago #

    Another plugin option, this one from me:

    http://guff.szub.net/get-a-post

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.