Is there a way to disable the sticky option on posts in specific categories?
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
I ended up going with another approach. I check to see what the current user's role is, then if the role is 'author', enqueued a CSS file to hide the sticky option's checkbox. In the theme's functions.php file:
admin-post-style.css:
|
|||
|
|

the_title == the_content... Much probably this is a jQuery solution, I've answered quite a few. And an inside research on Sticky Posts. – brasofilo Jan 23 at 14:45