Home>Support>Page Builder + Advanced Custom Fields, a custom plugin

Page Builder + Advanced Custom Fields, a custom plugin

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

I am trying to create a simple hack since the fields assigned to widgets created by advanced custom fields (pro) are working only inside the WordPress widgets section.

What i want to do is not display / make it work custom fields inside the widget edit area, i want to create a Js function which automatically add a custom widget (with a preset field which is just a reference for the acf fields) inside a layout row, note that this function will be triggered within the page builder section but not inside the page builder (a button placed in a meta box).

Could you point me in the right direction ? I just don’t want study all the source code :)

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 1 month ago Luca Bertaiola

    Currently i am able to do that with some extra steps:

    1. create a custom element within a meta box (acf fields)
    2. save page
    3. add the custom element widget with the fields reference to the layout
    4. save page again

    I would like to skip the passage number two and adding the widget directly within the metabox with javascript.

  2. 10 years, 1 month ago Luca Bertaiola

    Anyone ?

  3. 10 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Hi Luca

    Thanks for the wait.

    We have a post type builder almost ready to launch. It’s specifically for Page Builder. We hope to have it released next Friday. If you can wait that long it’ll most likely solve the problems / requirements you have.

  4. 10 years, 1 month ago Luca Bertaiola

    Thanks for the reply, i am now curious about this post type.

  5. 10 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    For now this is all the info I have:

    Plugin Name: SiteOrigin Custom Post Type Builder
    Description: Create page layouts and use any widget as a custom field type

    It’s a plugin we’ve been meaning to add for a long time. We’ve just developed our own TinyMCE field, that’s nearing completion. It’s quite crucial for this plugin. Hopefully they’ll all come together for a release next Friday.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More