Beskrivning
This plugin will add a page builder field type in Advanced custom fields.
The field works just like any other ACF field type and you can use it however you want. get_field()
returns the generated HTML and the CSS is outputed in the footer. We are using it together with ACFs flexible content layouts where you want to build more advanced layouts inside the ACF sections. This makes the content in ACFs flexible content truly flexible!
Building a great CMS-experience for editors, designers and developers is really hard. They all have very different requirements and ideas about that a great CMS consists of and how it should work. How do you give the editors the tools they need to edit all the content, the designer the freedom they want about how things should look, and empower the developer with tools to provide this easily and efficently?
We think we have found a sweet spot when ut comes to the balance between freedom for for editors and designers and ease for developers to implement and maintain a beatifull site.
The editor
The editor can easily edit all the content and maintain a good look and feel of the website. The editor has the right amunt of freedom to be able to express themselfts, but enough structure to prevent them from going wild and ruin the page layout and design.
Designern
Designern kan vara kreativ och har friheten att uttrycka sig själv utan att försvåra utvecklarens jobb.
Utvecklaren
Utvecklaren har möjlighet att enkelt skapa block/moduler som passar ihop.
Krav
- Advanced Custom Fields 5+ (ACF 4 is not supported)
- Page Builder by SiteOrigin 2.5 or newer
- PHP 5.3+
Temaintegration
We recommend using this plugin together with ACF Flexible Content for building beautiful landing pages.
This is an example of a template using ACF Flexible Content:
if( have_rows('flexible_content_field_name') ) :
while ( have_rows('flexible_content_field_name') ) : the_row();
switch( get_row_layout() ) {
case 'page_builder_layout':
if( get_sub_field( 'page_builder_field' ) ) {
echo get_sub_field( 'page_builder_field' );
}
break;
case 'other_layout':
the_sub_field('field1');
the_sub_field('field2');
break;
}
endwhile;
endif;
For more information, read about flexible content on advancedcustomfields.com.
Vi rekommenderar att du har senaste versionen av WordPress, Advanved Custom Fields och Page Builder av SiteOrigin för att få bästa kompabiliteten.
Known issues and limitations
- Use of ACF Page Builder field in widget areas. We aim to fix this in a comming release.
- Does not work on ACF Option pages. We aim to fix this in a comming release.
- Some issues with Page Builder content in
the_content()
(normal post content) if an ACF Page Builder field is rendered beforethe_content()
. This is due to the way the page builder works and we can’t fix this in a good way. We recommend using ACF Page Builder fields instead and removing the normal post content completely on ACF-pages in WP-Admin as a workaround.
Skärmdumpar
Installation
- Copy the
acf-page-builder-field
folder into yourwp-content/plugins
folder. - Activate the ACF Page Builder Field plugin via the plugins admin page.
- Skapa nya fält med ACF och välj Page Builder-fältet.
- Display the field in your theme’s templates with
get_field()
orget_sub_field()
as usual. - Njut av din förbättrade CMS-upplevelse!
Vanliga frågor
- Installation Instructions
-
- Copy the
acf-page-builder-field
folder into yourwp-content/plugins
folder. - Activate the ACF Page Builder Field plugin via the plugins admin page.
- Skapa nya fält med ACF och välj Page Builder-fältet.
- Display the field in your theme’s templates with
get_field()
orget_sub_field()
as usual. - Njut av din förbättrade CMS-upplevelse!
- Copy the
Recensioner
Bidragsgivare och utvecklare
”ACF Page Builder Field” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”ACF Page Builder Field” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0.3
- Fix for custom ID
- Fix for custom cell classes.
- Fix for full width rows
- Fix for row customizations without custom row class…
1.0.2
- Fix PHP warning
- Fix missing widget customizations
1.0.1
- Fix for Page Builder 2.5
1.0.0
- First stable release.
1.0.0-rc.3
- Support for version 2.4.9 of the Page Builder by Siteorigin plugin.
0.1.0
- Initial Beta Release.