Hi. I want to know if it’s possible to create a Shortcode from Pro Builder Elements (for example, Sections, Row, Image etc) and then insert the Shortcode in a PHP file so it can display exactly as it would have displayed.
Thanks
Hi. I want to know if it’s possible to create a Shortcode from Pro Builder Elements (for example, Sections, Row, Image etc) and then insert the Shortcode in a PHP file so it can display exactly as it would have displayed.
Thanks
Hello Mrbiizy,
Thanks for writing to us,
You can use our Global Block element, and you would get shortcode from there that shortcode can be used in PHP code or you can insert in our page builder with the help of Content element or Text element.
In case if you haven’t seen of Global Block element doc please have a look at our documentation of Global Block. https://theme.co/docs/global-blocks
https://theme.co/docs/use-shortcodes
Please note that we don’t provide custom code or custom development support. It is out of the support scope.
Hope it helps
Thanks for understanding
Okay. How will I use the short code with PHP? I tried before now but it didn’t work.
Thanks.
Hi @Mrbiizy,
You can print shortcode through PHP by using do_shortcode() functions. Please have a look at this
article for the function reference and example.
In case if you no idea about coding, I would recommend you to consult a developer who can assist you with your concern.
Hope it helps.
Thanks
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.