acf-builder icon indicating copy to clipboard operation
acf-builder copied to clipboard

set location to the static page

Open OrShalmayev opened this issue 5 years ago • 1 comments

how can i set my ACF location to the static page

OrShalmayev avatar Jun 22 '20 15:06 OrShalmayev

Do you mean the static front page?

The locations are just wrappers for ACF's own values. While we don't have all the values listed (perhaps we should) you can always find them in ACF itself:

Screen Shot 2020-06-23 at 6 57 48 PM Screen Shot 2020-06-23 at 6 58 35 PM

In this case its ->setLocation('page_type', '==', 'front_page');

stevep avatar Jun 24 '20 00:06 stevep