Divi ACF Gallery and oEmbed ACF fields
Shortcodes for displaying various ACF fields inside Divi's Code Module
by Eduard Ungureanu · github.com/eduard-un/divi-acf-fields · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/eduard-un/divi-acf-fields/archive/refs/heads/main.zipDivi ACF Plugins for oEmbed and Gallery Field Types
Shortcodes for displaying various ACF fields inside Divi's Code Module
How to use the oEmbed ACF type
In any Code module you can use [dt-yt-acf-video acf_id='my-video'] where the my-video parameter is the ACF oEmbed filed's name
How to use the URL ACF type
In any Code module or Text Module you can use [dt-acf-iframe acf_id='my-iframe-url'] where the my-iframe-url parameter is the ACF URL filed's name
How to use the Gallery ACF type
- Create a Gallery ACF filed
- Set the Return Format to be Image Array
- In any Code module you can use
[dt-acf-gallery acf_id='my_gallery']where the my_gallery parameter is the ACF Gallery filed's name
The Shortcode that displays the ACF Gallery Field, is using the build in Magnific Popup JS library (that Divi is also using).