I am working on a site where visitors will be able to add tags to post from frontend without being able to edit the already assigned tags. It basically will be a add tag button where upon clicking opens a input field to add tags.

Is this possible. If yes, Please provide a direction in which I can achieve?


  • Use wp_set_post_tags() WP function
    – SLH
    Nov 2 '14 at 15:31

You can add this to form action:

wp_set_post_tags( $post_ID, $tags, $append )

Function reference: wp_set_post_tags

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.