Support » Plugins and Hacks » Adhesive: A new sticky WP plugin

Adhesive: A new sticky WP plugin

  • This thing was kind of a proof of concept for something else I was doing, but it seems to work well enough to release.
    Adhesive is a WordPress plugin that lets you easily mark posts as sticky. Adhesive is different than other plugins I’ve found with similar functionality for two reasons:

    1. You don’t need to modify any WordPress code.
    2. You need only check a box when you want to make something sticky.

    Other stuff that you might want to know: Adhesive uses post meta fields to store its sticky status. Sticky posts only appear in the categories that they’ve been assigned to. If you’ve modified your index.php heavily (fetching the $posts array in a different way than the default), then this plugin may not work for you. Adhesive should maintain the posts_per_page setting in your options – I’m not sure whether other sticky plugins do this.
    The upside is that if if doesn’t do what you want, you can just deactivate it and delete it. 🙂
    To install Adhesive, drop the file in your plugins directory and activate it on the Plugins tab. That’s it!

Viewing 15 replies - 16 through 30 (of 149 total)
  • Yikes. Confusing. 🙂
    Actually, I think I see what’s going on. To summarize: If the sticky post was posted on the same day as the post that would immediately follow it on the home page, then the post that immediately follows it (and any other posts that day) would not have a date shown.
    Also, if a post is somehow unavailable for public viewing (such as a draft or a non-existant post) then it generates an error in Adhesive.
    Both of these I can fix…

    Yes, you have summarized it perfectly. 🙂

    Ringmaster, any update on when you may be able to fix the 2 points summarized above? Thanks in advance.

    1.3 is available. It includes a fix so that when you display posts by date there are no stickies. It includes a fix for displaying the date of posts that are on the same date as the sticky (see above). It no longer causes an error if there are no posts to diplay.

    Just so you can see what 1.3 does –
    Kind regards,

    all I did was change from 1.2 to 1.3 and that is what happened.. did not get them in 1.2….
    I am sure Ringmaster is working on it.. just waiting on a response from him here..

    wairoanz – I like how you put the exclaimation point in your sticky. Nice touch there. How’d you do that?

    Let me redownload it.. and see what happens.. maybe I gots a bad one..
    Nope.,. I deactivated 1.3 and then downloaded a new one.. then deleted the old one.. then reactivated.. then chose a new post to be the sticky and wala..
    same deal..

    I have reverted back to adhesive 1.2 due to problem mention in my post #27.
    I added the exclamation through css, as follows:
    .adhesive_post {
    background: rgb(255, 255, 255) url('wp-images/exclamation.gif') no-repeat scroll right top;
    margin-top: 0px;
    margin-right: 20px;
    margin-left: 22px;
    margin-bottom: 6px;
    border: 1px dotted #ccc;
    padding: .7em;

    Thanks, wairoanz…
    gravity – 1.2 seems to work fine on wairoanz site, but there was a lot of additional work on it. Perhaps you can try reverting to 1.2 and duplicate some of the steps wairoanz took here…?

    The problem in version 1.2 is that the date is missing on the sticky post.. It is also missing when you click on the archives. However, it is there if you choose the day of the sticky from the calendar.
    So it is something with version 1.2…..
    and 1.3 is just bonk.

    Be sure to check out the other thread.

    Hello RingMaster,
    I just downloaded 1.3 for adhesive.. and I made the change I made in 1.2 for style=”clear:both;”
    However, this time it is not working. I have temporarily changed back to 1.2 with style=”clear:both;” which is working. You can see that here..
    1.3 just gives me the index page again, even with the change.
    Kind regards,

    What you’re saying isn’t making sense to me. Are you talking about EzStatic? You’re in the wrong thread.

    Doh! Sorry..
    Where do you want me to post that? heh.. did not mean to do that..
    I am talking about EzStatic.. getting confused.. 😉
    Kind regards,

Viewing 15 replies - 16 through 30 (of 149 total)
  • The topic ‘Adhesive: A new sticky WP plugin’ is closed to new replies.
Skip to toolbar