• 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!
    Enjoy.

Viewing 15 replies - 106 through 120 (of 149 total)
  • Well, I am glad to see that it doesnt take 8 minutes for everyone… Not sure what her problem was as far as connection. Seconds, yes, and images being a little larger than necessary, maybe, but I prefer quality with a tiny amount of load to a pixelated image. I’m sure I can scale it down some, but right now, I’m not that worried about that part…

    Thank you for recognizing that GoLive doesn’t make me unprofessional. I have had no complaints for other sites. I am new to WP programming, and had help with the theming my design though, so I have no idea what is wrong or right it there. Have to go off of what others tell me.

    Nice page jaqy. Loaded for me (dialup, on crap 30 year old analog phone lines) in about 20 seconds total, not bad for a graphics oriented site. Cute kid, and nice to get a customer to actually PAY AN ADVANCE!

    Just keep in mind that much of the stuff posted herein is people’s own personal opinions and try not to be too offended…. Keep the stuff that works, and discard/ignore the rest….

    Now, back to the point of your original post: I’ve had Adhesive working off and on since February. Right now I don’t have it set up on any of my blogs, but since it seems to keep turning up “problematic” for people, and since I never once have had any trouble with it, I’m going to go activate it on all of mine, and see what I can come up with….

    Might take me a bit to come up with the old css that had the styling stuff in it though, but I will post back…. I generally have backups back to Eve….

    Thank you, I’ll keep looking to see if you figure anything out!!

    Okay – it’s kind of a theme-dependant thing apparently. You have this to add to your style.css:

    .adhesive_post {
    border: 1px solid green;
    margin: 15px;
    }
    .adhesive_post H3 {
    background-color: yellow;
    }
    .adhesive_post .storycontent p {
    font-weight: bold;
    }

    That’s fine, if you’re using the old standby “classic” theme, which uses “storycontent”. If you’re using one of the “new millions” of themes which base off the “default” theme Kubrick, you need to change the word “storycontent” to the word “entry. So then your stuff for the style.css looks like this:

    .adhesive_post {
    border: 1px solid black;
    /* margin: 15px; */
    }
    .adhesive_post H2 {
    background-color: white;
    }
    .adhesive_post .entry p {
    font-weight: bold;

    }

    And in my case on the theme I just tried this with, the post title is an H2 instead of an H3, which was why I changed that, and yellow didn’t go with the theme so I changed it to white, and the border to 2px black – and I commented out the margin element because I tried this on my 4 column theme and there’s no way it would have fit into the column with a 15px margin all around!

    So do some tweaks like that, and let me know if that helps, okay?

    I added your css exactly to my css file and still zip – I’m not sure what’s going on really. I am having someone help me once again with my theme to get it done “the right way”… so maybe that will help some, we shall see…

    Well, if your helper needs to see it “in situ” so to speak, you can access it at https://netwizardry.net/thematics/. If you’re using Firefox with the web developer extension, you can view the css as well as grabbing the source….

    [Edit: but don’t go there until I figure out what the hell my host just did with all my databases! *sigh*]

    Okay, the link works now jaqy, if your sitewiz needs it…. (I STILL don’t know what my host did with my databases for an hour!)

    i haven’t got the checkbox to show up on WP1.5.3 whats the secret ?

    You have to save the post, then it will show up. Or publish the post, then edit it, and the checkbox will be there.

    I’m having a WP Adhesive Twilight Zone moment. The stickies work fine…except…

    I have a 3 col design. The left col is the sidebar, the middle col is the “featured” articles, and the right col is just the whatever posts.

    The class=”adhesive_post” appears to be coming up in the <a> and looks like:

    <div class="feature">
    <h2><a class="adhesive_post" href="https://nmallory.exit-23.net/20050808/the-audacity-of-stupid-people" id="post-349">The Audacity of Stupid People</a></h2>

    However, while the sticky keeps the post at the top of the right col, it’s missing the sticky graphic from the css. The code comes out like:

    <div class="nonfeature">
    <h2><a href="https://nmallory.exit-23.net/20050808/internet-killed-the-stand-up-comic">Internet Killed the Stand-Up Comic</a></h2>

    See? no class=”adhesive_post” like the other. Since the code is auto generated and both the top posts in both columns are from today, I don’t understand…

    Plus, when I sticky a post from yesterday, it does not move to the top, having been the last thing stickied like the other column.

    Please help. Thanks!

    It always helps to post my problem for some reason…anyway.

    This is the proper header to get the sticky to work right:

    <h2><a href="<?php the_permalink(); ?>" id="post-<?php the_ID(); ?>"><?php the_title(); ?></a></h2>'

    For some reason, the css won't work without:

    ” id=”post-<?php the_ID(); ?>”`

    no check mark appears even if the post are saved, what version works with 1.5.3 ?

    I see that I’m still the only person in the world (with the possible exception of nmallory) who can get 2.1beta to work with 1.5.1.3.

    It’s just that: version 2.1beta. May possibly be the only one on the site, I don’t know. I have (as I posted elsewhere earlier) it set up and running on 8 blogs, on 2 different hosts, on probably 5 different shared servers.

    I made no changes to the file itself, other than to delete the line hiding the date as instructed in the file, on a couple of blogs where I wanted the date to display. The only changes I made were to the bits n pieces of the css.

    YMMV.

    I have Adhesive working fine on my new WordPress 1.5.1.3.

    Only, I’m just learning about CSS. Should I even try to style my Sticky posts? I’m fairly content leaving it styled the same as the other posts, but if there’s CSS I can plug-in and learn I would try it.

    Take a look up the page a few posts at what I did with it. I didn’t change much, colors etc.

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