While Nicepage includes a shortcode element, it's a standalone element that can't be wrapped around other elements. There are many instances where you want to wrap a shortcode around another element, like a button. For example, my form builder plugin uses a shortcode wrapper to make a button open a modal form. I realize you can do whatever you want, by entering HTML code manually in the shortcode box, but this defeats the purpose of using Nicepage, because then you have to create your buttons manually in HTML.
Therefore, I'd like to request that Nicepage include a shortcode section in the properties pane, for elements like buttons that could potentially be wrapped in a shortcode. The shortcode section would include a field for the opening shortcode and a field for the closing shortcode. Whatever you enter in this fields would be wrapped around the element. For example, in a button element, you might enter:
Opening Shortcode: [popup-form id="1"]
Closing Shortcode: [/popup-form]
When the button is rendered, it would be wrapped in these two shortcodes.
While Nicepage includes a shortcode element, it's a standalone element that can't be wrapped around other elements. There are many instances where you want to wrap a shortcode around another element, like a button. For example, my form builder plugin uses a shortcode wrapper to make a button open a modal form. I realize you can do whatever you want, by entering HTML code manually in the shortcode box, but this defeats the purpose of using Nicepage, because then you have to create your buttons manually in HTML. Therefore, I'd like to request that Nicepage include a shortcode section in the properties pane, for elements like buttons that could potentially be wrapped in a shortcode. The shortcode section would include a field for the opening shortcode and a field for the closing shortcode. Whatever you enter in this fields would be wrapped around the element. For example, in a button element, you might enter: Opening Shortcode: [popup-form id="1"] Closing Shortcode: [/popup-form] When the button is rendered, it would be wrapped in these two shortcodes.