I would like to automatically add blog articles to the category "Video" if a video embed is pasted into the provided field. Likewise I would like to automatically remove blog articles from the "Video" category if the provided field is cleared.

Is there a way to do this?

1 Answer 1


You can use a bit of javascript / jquery to set the corresponding category. And you can add it to the publish screen by making an Accessory.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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