Controlling site wide modules from one place in the backend

I’m building pages using the WPBakery plugin. I’ve created custom elements for all of the building blocks, but there are two elements which appear across all pages, those being:

Get in touch banner
Subscribe

Currently, the above two listed modules are build out through shortcode. But, I don’t want to go through each page and add these two modules (and then adjust the settings for them).

Is there a way I can just add them to the theme by default?

I can simply put the blocks above the footer in the markup. However, I’m looking for a way for it to be dynamic, so a user can click an option in the WP backend and control what text / content to show.

I’ve come across the options panel approach, but unsure whether this approach is suited for something like this? But also cannot find any alternatives. What’s the best way to approach this?

Read more here:: Controlling site wide modules from one place in the backend

Leave a Reply

Your email address will not be published. Required fields are marked *