Город МОСКОВСКИЙ
00:23:29

Build your own custom page builder with ACF flexible content blocks.

Аватар
PHP: Веб-разработка без границ
Просмотры:
22
Дата загрузки:
30.11.2023 16:33
Длительность:
00:23:29
Категория:
Обучение

Описание

Create a simple page builder using ACF advanced custom fields WordPress plugin and ACF theme code pro WordPress plugin. The page builder allows you to create your own custom blocks and add the blocks to the page. This is a really simple page builder that clients love because it's really simple and impossible to break. See below for all the code, links and the process to follow to create your own page builder with custom ACF flexible content blocks.


https://www.advancedcustomfields.com/
https://hookturn.io/downloads/acf-theme-code-pro/
https://wordpressmelbourne.com/blogs/build-a-custom-page-builder-with-acf-flexible-content-blocks/

1. Add block function to functions file
2. Run function on content-page

CREATE ACF FIELDS IN ACF ADMIN
3. create flexible content field
- create layout in flexible content

4. Create template-parts/blocks/block-name.php

5. Copy acf php code to your block-name.php file

6. Add the block to a page in the admin
7. Refresh frontend to see content output

Рекомендуемые видео