May 10, 2007 - 32 comments

WordPress Plugin—Adhesive

Adhesive is a WordPress plugin that allows one to easily mark certain posts as "sticky." Sticky posts always appear at the top of the page when WordPress displays several posts, but if more than one post is sticky, the post with the latest post time will appear topmost.

Adhesive was originally written by Owen Winkler and available at http://www.redalt.com/downloads/. Unfortunately, it is no longer available, and the last version by Owen doesn't play well with WordPress 2.1. So I fixed it and am making Adhesive available here.

Installation/Usage

Simply follow the download link below, unzip the download and drop it into your WordPress plugins directory. Then activate Adhesive via the plugin administration panel.

To make a post sticky, edit it and either check the "Sticky" checkbox located in the right column below "Keep this post private" or in "Custom Fields" add key sticky with a value of 1.

Please note that if you deactivate Adhesive, all posts marked sticky will revert back to regular status. To upgrade this plugin and preserve posts' sticky status, just overwrite the old Adhesive files with the new ones.

Download Adhesive

Adhesive 3.4.0 for WordPress 2.6.5. Last updated 29 November 2008. Release notes.

Adhesive has been tested under WordPress 2.6.5 in Firefox 3.0.4, Google Chrome 0.4.154.25, Internet Explorer 7, Opera 9.62 and Safari 3.2.1 running on Windows Vista. If something isn't working right, please leave a comment.

Jeffrey Barke is senior developer and information architect at theMechanism - New York, a multimedia firm with offices in New York, London and Durban, South Africa.

Published by: jeffreybarke in The Programming Mechanism

Comments

Dave Fletcher
May 11, 2007 at 3:52 pm

Awesome Jeff! Glad you sorted this for the WordPress kids.

Comments are closed.

Dave Fletcher
May 11, 2007 at 3:52 pm

Awesome Jeff! Glad you sorted this for the WordPress kids.

Comments are closed.

Fr. Chris Decker
September 14, 2007 at 4:59 pm

just to make sure I’m getting the most out of this plugin, are there instructions that go along with the .php file?

Comments are closed.

Fr. Chris Decker
September 14, 2007 at 4:59 pm

just to make sure I’m getting the most out of this plugin, are there instructions that go along with the .php file?

Comments are closed.

Fr. Chris Decker
September 14, 2007 at 5:19 pm

silly me. self-explanatory! Pax.

Comments are closed.

Fr. Chris Decker
September 14, 2007 at 5:19 pm

silly me. self-explanatory! Pax.

Comments are closed.

pei
December 4, 2007 at 5:31 pm

hi,
sorry. maybe it’s too easy to be noticed. is there supposed to be a button or check box to index the article as a sticky? thank you.

Comments are closed.

pei
December 4, 2007 at 5:31 pm

hi,
sorry. maybe it’s too easy to be noticed. is there supposed to be a button or check box to index the article as a sticky? thank you.

Comments are closed.

Jeffrey Barke
December 20, 2007 at 6:35 pm

Sorry for not getting back to you sooner, pei. Adhesive adds a checkbox labeled "Sticky" to the "Post Status" options in "Write Page" and "Write Post".

Comments are closed.

Jeffrey Barke
December 20, 2007 at 6:35 pm

Sorry for not getting back to you sooner, pei. Adhesive adds a checkbox labeled "Sticky" to the "Post Status" options in "Write Page" and "Write Post".

Comments are closed.

mcd
June 26, 2008 at 3:29 pm

Thanks for the great update for this useful plugin. You rock!

Comments are closed.

mcd
June 26, 2008 at 3:29 pm

Thanks for the great update for this useful plugin. You rock!

Comments are closed.

langlaiserousse
November 23, 2008 at 6:50 am

Hi

Unfortunately, like other versions of Adhesive, this plugin stops the ‘next page’ link at the bottom of multi-post pages from working and had to be disabled.

Any fixes very welcome!! Thanks anyway

Comments are closed.

langlaiserousse
November 23, 2008 at 6:50 am

Hi

Unfortunately, like other versions of Adhesive, this plugin stops the ‘next page’ link at the bottom of multi-post pages from working and had to be disabled.

Any fixes very welcome!! Thanks anyway

Comments are closed.

Jeffrey Barke
November 25, 2008 at 12:37 am

Thanks for pointing that out langlaiserousse. I’ll take a look at it this weekend and see if I can fix it.

Comments are closed.

Jeffrey Barke
November 25, 2008 at 12:37 am

Thanks for pointing that out langlaiserousse. I’ll take a look at it this weekend and see if I can fix it.

Comments are closed.

Jeffrey Barke
November 30, 2008 at 5:19 pm

langlaiserousse, the latest version of Adhesive (3.4.0 released 30 November 2008) should address your concern. I've tested it on a couple of blogs and it does not stop the "next page" link from working.

If you have any problems with 3.4.0, please let me know. Thanks!

Comments are closed.

Jeffrey Barke
November 30, 2008 at 5:19 pm

langlaiserousse, the latest version of Adhesive (3.4.0 released 30 November 2008) should address your concern. I've tested it on a couple of blogs and it does not stop the "next page" link from working.

If you have any problems with 3.4.0, please let me know. Thanks!

Comments are closed.

dob
January 6, 2009 at 5:41 am

Hi Jeffrey,

I’m running WPMU 2.6.5 and although having installed and activated adhesive successfully – I cannot see the checkbox labeled “Sticky” to the “Post Status” options in “Write Page” and “Write Post”.

Adhesive not compatible with WPMU or what could it be?

Thanks
dob

Comments are closed.

dob
January 6, 2009 at 5:41 am

Hi Jeffrey,

I’m running WPMU 2.6.5 and although having installed and activated adhesive successfully – I cannot see the checkbox labeled “Sticky” to the “Post Status” options in “Write Page” and “Write Post”.

Adhesive not compatible with WPMU or what could it be?

Thanks
dob

Comments are closed.

Lisa
January 8, 2009 at 9:50 pm

Does this plugin work at all with WP 2.7? I just tried installing it and the Post Status box does not show up.

Comments are closed.

Lisa
January 8, 2009 at 9:50 pm

Does this plugin work at all with WP 2.7? I just tried installing it and the Post Status box does not show up.

Comments are closed.

Jeffrey Barke
January 12, 2009 at 10:43 am

dob—I've never tested it with WPMU; I will look into this.

Lisa—I'm not sure if Adhesive works with WP 2.7, but regardless it's obsolete. WordPress 2.7 natively includes support for sticky posts.

Comments are closed.

Jeffrey Barke
January 12, 2009 at 10:43 am

dob—I've never tested it with WPMU; I will look into this.

Lisa—I'm not sure if Adhesive works with WP 2.7, but regardless it's obsolete. WordPress 2.7 natively includes support for sticky posts.

Comments are closed.

VeAn
February 9, 2009 at 6:53 pm

Hy,

if I comment line from below post_meta wouldn’t be deleted if I deactivate/activate plugin. I mean, all sicky post will remain “sticky” after activation.


//add_action('deactivate_adhesive/adhesive.php', 'adhesive_deactivate');

Only thing I see is different:
I get sticky post on index and category pages and I’m fine with that.

Is there any other dysfunctionality what should I know about?

Comments are closed.

VeAn
February 9, 2009 at 6:53 pm

Hy,

if I comment line from below post_meta wouldn’t be deleted if I deactivate/activate plugin. I mean, all sicky post will remain “sticky” after activation.


//add_action('deactivate_adhesive/adhesive.php', 'adhesive_deactivate');

Only thing I see is different:
I get sticky post on index and category pages and I’m fine with that.

Is there any other dysfunctionality what should I know about?

Comments are closed.

VeAn
February 10, 2009 at 9:12 am

About question just above this one:

Is is possible to have sticky just on INDEX page?

Can You help me with these?

Thanks

Comments are closed.

VeAn
February 10, 2009 at 9:12 am

About question just above this one:

Is is possible to have sticky just on INDEX page?

Can You help me with these?

Thanks

Comments are closed.

Jeffrey Barke
February 11, 2009 at 2:14 pm

Sorry VeAn, I don't quite follow your first comment.

What version of WordPress are you using? WordPress 2.7 natively includes support for sticky posts, so this plugin is obsolete and should not be used.

Regarding sticky posts on just the index page, I am not sure how the WP team implemented sticky posts in 2.7, so unfortunately cannot help.

If you are using an older version of WP and Adhesive, I'll see what I can do.

Thanks,
Jeffrey

Comments are closed.

Jeffrey Barke
February 11, 2009 at 2:14 pm

Sorry VeAn, I don't quite follow your first comment.

What version of WordPress are you using? WordPress 2.7 natively includes support for sticky posts, so this plugin is obsolete and should not be used.

Regarding sticky posts on just the index page, I am not sure how the WP team implemented sticky posts in 2.7, so unfortunately cannot help.

If you are using an older version of WP and Adhesive, I'll see what I can do.

Thanks,
Jeffrey

Comments are closed.

VeAn
February 11, 2009 at 2:37 pm

Hy,

I’m sorry, I forget to mention.
I’m using wordpress 2.6.2. and can not upgrade to 2.7. so I need Your plugin.

(I can not upgrade because I have lots of other plugin and custom field all over of theme and will require lots of changing)

Like I said, I comment line like this:
//add_action('deactivate_adhesive/adhesive.php', 'adhesive_deactivate');

With that I get 2 new things:
1. post_meta aren’t deleted after deactivation/activation of pugin
2. sticky post are all over the site:
(index and category)

Now I have 2 questions:
1. Is there any other dysfunctionality what should I know about? (Regarding to commenting that code)
2. How can I change plugin to show sticky posts only on index page.

Thank You for Your help in advance
and sorry for my bad English

Comments are closed.

VeAn
February 11, 2009 at 2:37 pm

Hy,

I’m sorry, I forget to mention.
I’m using wordpress 2.6.2. and can not upgrade to 2.7. so I need Your plugin.

(I can not upgrade because I have lots of other plugin and custom field all over of theme and will require lots of changing)

Like I said, I comment line like this:
//add_action('deactivate_adhesive/adhesive.php', 'adhesive_deactivate');

With that I get 2 new things:
1. post_meta aren’t deleted after deactivation/activation of pugin
2. sticky post are all over the site:
(index and category)

Now I have 2 questions:
1. Is there any other dysfunctionality what should I know about? (Regarding to commenting that code)
2. How can I change plugin to show sticky posts only on index page.

Thank You for Your help in advance
and sorry for my bad English

Comments are closed.