I'm new to WordPress and have inherited a site that uses Custom Fields.
In header.php
there is;
<?php if(is_front_page()) : ?>
<div class="row">
<div class="col-md-4 header-banner__text">
<?php print get_field('home_banner_text'); ?>
</div>
I want to update whatever the value of home_banner_text
is.
I can see it in the Custom Fields settings area, but I can't see where it's actual set anywhere.
Would anyone know how this is done?
(PS I've looked into the Appearance >> Header tab but that does not have the same Custom Fields)
I'm new to WordPress and have inherited a site that uses Custom Fields.
In header.php
there is;
<?php if(is_front_page()) : ?>
<div class="row">
<div class="col-md-4 header-banner__text">
<?php print get_field('home_banner_text'); ?>
</div>
I want to update whatever the value of home_banner_text
is.
I can see it in the Custom Fields settings area, but I can't see where it's actual set anywhere.
Would anyone know how this is done?
(PS I've looked into the Appearance >> Header tab but that does not have the same Custom Fields)
You can change the value for home_banner_text as follows.
Make ACF field visible on homepage admin area Go to Custom Fields -> Field Groups. Find field group which has the home_banner_text field. In that field group, scroll down to Location tab/section. Update in Show this field group if, Page is equal to Your Home/Front Page
Go to Pages-> Your Home/Front page. in that page, scroll down until you see the option to update your desired value.
That's it.
wp_postmeta
table. – Fayaz Commented Apr 25, 2019 at 3:18