You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a shortcode which works perfectly on its own, but when I wrap it around the [col] shortcode as shown below, my shortcode is not added within the col wrapper. Instead is is rendered outside the col-wrapper. not sure why!! :(
my shortcode uses load_template() and therefore loaded the template before hand. What I was supposed to do is load the template into the buffer with ob_start() .... ob_get_clean() and then it renders property after that.
Hope this helps someone who's has a few blood stains on the wall and a very saw head.
I created a shortcode which works perfectly on its own, but when I wrap it around the [col] shortcode as shown below, my shortcode is not added within the col wrapper. Instead is is rendered outside the col-wrapper. not sure why!! :(
[row class="container"]
[column lg="12" md="12" sm="12" xs="12" ][my_short_code][/column][/row]
The text was updated successfully, but these errors were encountered: