divi layout injector shortcode module in function php file

Solutions on MaxInterview for divi layout injector shortcode module in function php file by the best coders in the world

showing results for - "divi layout injector shortcode module in function php file"
Matteo
15 Mar 2017
1// Shortcode pour afficher le module
2function showmodule_shortcode ($ moduleid) {
3extract (shortcode_atts (array ('id' => '*'), $ moduleid)); 
4return do_shortcode ('[et_pb_section global_module = "'. $ id. '"] [/ et_pb_section]');
5}
6add_shortcode ('showmodule', 'showmodule_shortcode');