I've seen multiple references of people successfully using this plugin, but i can't get it to work.
It seems to be built to work from the plugins folder, but even from there i can't make it work (i can activate and configure it, but don't see the option when writing a post), and ultimately i'd like it to work directly from the mu-plugins folder.
Anyone who got this working care to explain how you did it ? Thanks !
mine's in the regualr plugin folder. To use it, ... oh wait a minute...
There's supposed to be a checkbox under Post Status in the Write Post area. It *was* there when I installed, but since I upgraded it looks like it disappeared. :-/
*Sigh* another item for my neverending to-do list.
Andrea_r,
The check-box appears when editing a post(post.php only-no post-new.php).
How would you edit this line from adhesive.php so it appears on post-new.php as well?
// Are we on the right page?
if(preg_match('|post.php|i', $_SERVER['REQUEST_URI']))
I swear it was there on new posts before.
how would I edit that line? I'd change it to
// Are we on the right page?
if(preg_match('|post-new.php|i', $_SERVER['REQUEST_URI']))
and see what happened.
otherwise, I'd have to go read the code and if I wanted it to show up on both, I'd just take out the if statement.
andrea_r, you are correct.
I removed: // Are we on the right page?
if(preg_match('|post.php|i', $_SERVER['REQUEST_URI']))
{
and the leftover } a little further down.
Sticky check box on both now.
Thanks
quenting, I dropped adhesive.php into plugin or mu-plugins, works same either way.
Wait a minute, andrea_r: now I have a sticky box at the bottom of every admin page. Back to original.
quenting, the config for adhesive in mu is hidden and needs be added to menu.php manually, I guess.
I added the config menu in adhesive.php under Options rather than Plugins.
function adhesive_admin_menu() {
add_submenu_page('options-general.php', 'Configure Adhesive', 'Adhesive', 'activate_plugins', basename(__FILE__), 'adhesive_config');
}
"Wait a minute, andrea_r: now I have a sticky box at the bottom of every admin page. Back to original."
Whups. :) That occured to me afterwards it might do that. The if statement needs to be changed to if post.php OR post-new.php, show the ticky box, but I can't think of how right off the top of my head.
A easy way to add it to both pages would be:
replace
if(preg_match('|post.php|i', $_SERVER['REQUEST_URI']))
With
if(preg_match('|post.php|i', $_SERVER['REQUEST_URI']) || preg_match('|post-new.php|i', $_SERVER['REQUEST_URI']))
Andrea, which Adhesive plugin was this that you use?
I note that there's two versions, one by Gamerz and one by Owen Winkler:
http://wordpress.org/extend/plugins/wp-sticky/
Below is what is appearing at the top of my post that is supposed to be sticky...
window.document.getElementById(’post-8′).parentNode.className += ‘ adhesive_post’;
vanwyks
Member
Posted 15 years ago #
Has anyone solved this? Is development still ongoing with WPMU? Seems a few developers are incredibly swamped!
Yep, everyone is swamped.
the plugin menitoend above that *was* working on my system somehow interfered with the previous/next navigation links so I had to dunp it.
haven't found a substitute for it yet.
conpeo
Member
Posted 14 years ago #
I modify the core file but it doesn't work in Mu2.63.
Any idea for adhesive or sticky post?
f its cold. still no see on testbed.
It's there, I tried it, I used it. One of the first things I tested on what I got out of trunk.
Miust not have copied a file correctly yet again. r1519 on the laptop and I swear it's not there. The Publish Status dropdown, right?
Right between Status and publish date.
Status: Draft Edit
Stick this post to the front page
Publish immediately Edit
*shrug* I must have missed a file. Can I blame Ron?