Home › Forums › Front-end Issues › Create new catorgory › Reply To: Create new catorgory
Yes, it is possible to create a new category for posts using an Advanced Custom Fields (ACF) form.
You will need to use the wp_insert_category function to insert the new category into the database.
You can also use the wp_set_object_terms function to assign the new category to the post when the post is created or updated.
It’s also possible to use a plugin such as Gravity Forms or Contact Form 7 that allow you to create forms and use the acf hooks to handle the form submission.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.