If your custom module disappears after publishing the page then you are on right place.I spend almost 3-4 hours to debug this error but and found there is simple fix for this.

The solution is to prefix the custom module slug with et_pb_

Let us suppose you are building custom module for accordion then I choose initialize this module with slug as et_pb_custom_accordion.

Here is the example of one.

class Accordion_custom_module extends ET_Builder_Module { function init() { $this->name = esc_html__( 'Custom Accordion', 'divi-awesome-layouts' ); $this->slug = 'et_pb_et_pb_custom_accordion'; $this->fb_support = true;

//statement goes here } }

Hope this will be helpful to anyone who is building divi module for their projects.

You can place your comments or ideas here or you can send me at adhsushil7@gmail.com

Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: