WordPress.org

Support

Support » Plugins and Hacks » How to toggle post status from front-end?

How to toggle post status from front-end?

  • Hi,

    I’m trying to figure out a way to toggle post status (from publish to draft and backwards). But I’m trying to achieve that from the theme’s front-end.

    The basic idea, I think, is to take a simple href structure and pass the action as a param in the URL.

    Of course, this has to be accessible to admin user (or at least users with suitable roles).

    Any ideas?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to toggle post status from front-end?’ is closed to new replies.