Wordpress - do_shortcode does not work from the Topic

0

I made a template for blog entries, but I want to add a plugin that allows you to vote at the end of each entry.

If I add the shortcode of that plugin [was-this-helpful] from the post, it shows it without any problem.

But, if I add <?php echo do_shortcode('[was-this-helpful]'); ?> to apply the shortcode from the theme, it returns empty to me.

Additionally, if I add the shortcode from article Y from the topic, it shows me both.

Any idea what it could be?

    
asked by pasasalron 17.11.2017 в 17:15
source

0 answers