We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey,
I want use flexibleContent field, but i want each Layout split in separate files. Can i do that?
`<?php
use StoutLogic\AcfBuilder\FieldsBuilder;
add_action('acf/init', function () { $templatePageFields = new FieldsBuilder('flexible_content_template');
// Add a flexible content field $templatePageFields ->addFlexibleContent('flexible_content_field', [ 'label' => 'Page Sections', 'button_label' => 'Add Section', ]); import here all sections $templatePageFields ->endFlexibleContent() ->setLocation('page_template', '==', 'pages/global.php'); acf_add_local_field_group($templatePageFields->build());
}); `
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey,
I want use flexibleContent field, but i want each Layout split in separate files. Can i do that?
`<?php
use StoutLogic\AcfBuilder\FieldsBuilder;
add_action('acf/init', function () {
$templatePageFields = new FieldsBuilder('flexible_content_template');
});
`
The text was updated successfully, but these errors were encountered: