WordPress.org

Ready to get started?Download WordPress

Forums

Add to Category on Single.php? (3 posts)

  1. iamPariah
    Member
    Posted 5 years ago #

    On one of my WP-powered sites I have a special category that points out interesting articles from among all of them. The category is called "Daily Favorites." A custom query in the sidebar lists 10 posts from the "Daily Favorites" category. Adding posts to that category is simply a matter of hitting the Edit screen and checking the "Daily Favorites" category.

    Therein lies the slowdown for me: to add a post to "Daily Favorites" I have to jump to the edit screen everytime. I have to read all the day's posts (on the frontend of the site so I can see pictures and such as well), choose 10 I like best, and then edit and save each one. It gets time consuming.

    I know how to put conditional links up if the user is the admin, but is there a way to add a button or other UI element to single.php (or any template) that, when clicked, would add a specific category to the post--without having to hit the Edit Post screen?

    Ideally I'd like a checkbox or button beside the existing "Edit" button. The checkbox (or button) when clicked adds the "Daily Favorites" category to the currently displayed post, saving the post in the process.

    Anyone know how it could be done?

  2. Arun
    Member
    Posted 5 years ago #

    you can try the below plugin for easy editing of categories without fully editing the post.
    http://www.aaronharp.com/dev/wp-manageable/

  3. @mercime
    Volunteer Moderator
    Posted 5 years ago #

    seconding sparun. take note though that this feature has already been integrated into the core of WP2.7. I'm testing development version 2.7-beta2-9665 and that feature is fine, baby fine :-)

Topic Closed

This topic has been closed to new replies.

About this Topic