Answer the question
In order to leave comments, you need to log in
Can't edit category with ACF?
Created categories, and decided to edit each of them with the help of ACF.
I created a category.php file, added the_field where necessary, checked everything in the settings as needed, Taxonomy-category, labels converge by name, but after adding text, for example, it simply is not added, maybe something needs to be written to allow editing?
Answer the question
In order to leave comments, you need to log in
If you have added a Category field, then in category.php try the following:
$cat_id = get_queried_object_id();
the_field( 'НАЗВАНИЕ_ПОЛЯ', 'category_' . $cat_id );
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question