Answer the question
In order to leave comments, you need to log in
Wordpress why shortcodes do not work in the created template for the page?
Created a template
<?php
/*
Template Name: myshablon
*/
echo do_shortcode('[yottie id="2"]');
?>
Answer the question
In order to leave comments, you need to log in
this means that the shortcode is not defined, or it is processed using a regular expression. But anyway, try thisapply_filters('the_content','[yottie id="2"]');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question