I
I
inkvizitor20142021-09-15 18:17:57
WordPress
inkvizitor2014, 2021-09-15 18:17:57

How to insert the H1 tag in the admin headings with an arbitrary field?

How to display the h1 tag in the admin panel when adding or editing a category using acf

61420e53b7298582044372.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pLavrenov, 2021-09-15
@pLavrenov

1) Add a text field for the taxonomy in the ACF field settings.
2) In the template code, display the value of the ACF field in the H1 tag
3) Add a check for the value of the ACF field so that an empty H1 is not displayed if the field is empty.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question