Open gaisho opened 10 years ago
aaahhh I figured it out. sorry it was my problem;
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]