humanmade / humanmade/modular-page-builder

Readme doesn't instruct to re-register builder post meta for custom module

Open
#34 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
149
Forks
28
PR merge metrics
No merged PRs in 30d

Description

I added a custom module as the Readme instructed, but I wasn't able to see this new module until I

`
$plugin->register_builder_post_meta( 'modular-page-builder', array(
'title' => __( 'Page Body Content' ),
'api_prop' => 'page_builder',
'allowed_modules' => array( 'header', 'text', 'image', 'video', 'blockquote', ''),
) );
`

Perhaps I did it the wrong way, but the Readme wasn't too exhaustive in how to add this custom module.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.