I am building my first wordpress theme and I can't seem to figure out how to make another editable section. For instance, I have a hero with the h1
of "Lorem Ipsum, Foo Bar." But would like to be able to edit this later on down the line from the admin panel.
Is this possible? I have the ACF(Advanced Custom Fields) plug in, but it doesn't seem to be the solution I'm looking for. I don't want a field
as in a form on my "site preview page".
Does this make sense?
Here is how I wrote my <h1>
<h1><?php the_field('homepage_hero_text'); ?></h1>
Here is the field I made in ACF:
But the field does not appear in my homepage admin panel:
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire