Answer the question
In order to leave comments, you need to log in
Not displaying ACF custom field in woocommerce category?
I want to put my custom header h1 in the field instead of describing the category itself. That is, the task is only to display a custom field there. I understand where to stick all this, I output it like this, <h1><?php the_field('cat_title'); ?></h1>
but for some reason it does not work, only the <h1></h1>
empty tag is visible.
In custom fields, I output it like this
. I understand that the problem is in the code itself <? php the_field ('cat_title'); ?> or I created the field itself incorrectly. Help me figure it out, thanks in advance.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question