do_shortcode before the_content() gives an error
-
Hi,
For some reason when I place this in the template file the actual post content isn’t displayed anymore;
<?php echo do_shortcode('[owl-carousel category="bio_toni" singleItem="true" autoPlay="true" navigation="false"]'); ?>
Followed by;<?php the_content(); ?>But if I do it the other way around it does give an output of the post content. (obviously in the wrong order.)
Any fix for this would be highly appreciated.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘do_shortcode before the_content() gives an error’ is closed to new replies.