Friday, July 1, 2022
HomeWordPress Developmentshow ACF Teams/Blocks in customized pages

show ACF Teams/Blocks in customized pages


We exported the information from an previous WP web site to a brand new one, we do not have entry to the unique theme recordsdata, so I’ve to adapt the imported information to show in our present them.

We I’m going to edit say the Providers web page I can see the ACF fields are correctly assign to the respective pages, About, Contact, Providers and so forth. See picture beneath, it has a Blocks part holding the information I must render.

enter image description here

Sadly for me I do not know tips on how to get the required fields to seem within the accessible block record.
I’ve imported an enormous record(4k+ strains) to my features.php baby theme, that accommodates all of the references to those fields:

if( function_exists('acf_add_local_field_group') ):

  acf_add_local_field_group(array(
    'key' => 'group_xxxxxxxxxxxxx',
    'title' => 'All Blocks',
    'fields' => array(...)
    ...
));

Certain I am lacking one thing, however I do not know, any assist can be a lot appreciated.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments