Hi FastLine’s crew –
I’m using PageBuilder on a client’s website and love how quickly I can get their content up for them.
The question I haven’t been able to find an answer for is whether I can customize the markup that PageBuilder creates, specifically with the Accordion advanced module. The accordion works well, but to get the accordion to style how the client wants, I’d have to use a lot of bizarre absolute positioning in their stylesheets (that I want to avoid), and it’d be easier for me if I could re-arrange and customize the markup. Is there any way to create like a … /wp-content/themes/client_theme/pagebuilder/modules/ folder and overwrite core files in the plugin?
Anyway, love the plugin, and thanks for your assistance thus far!
FYI –
I can easily customize this to get the desired change by editing the /wp-content/plugins/fl-builder/modules/accordion/includes/frontend.php But… I obviously want to avoid editing the core plugin. If I could duplicate this file in my theme directory and over-ride the default file, that’d be great.
If this is functionality already built into PB… well, I’m an idiot for not trying it.
Hi Michael! Thanks for using our page builder and for the kind words! You’re right, you won’t want to edit the core plugin files because the changes will get overwritten on updates. Our developer package includes an additional boilerplate plugin and documentation for creating custom modules. If you use the developer package/plugin to do this, your custom modules won’t be overwritten by updates. You should also be able to copy/paste the existing accordion module into the developer plugin and use it as a base to work off of. Let me know if that solution will work for you and if you need any help! Thanks!
The custom module documentation is located in your downloads area when logged in with a developer account. Let me know if you have any additional questions!