Home how to use shortcode in my single.php file(below posts) in wordpress?

# how to use shortcode in my single.php file(below posts) in wordpress?

user6081
1#
user6081 Published in September 19, 2018, 3:57 am

can i ask how to make my shortcode usable when i put it into my single.php file? I want to put a carousel slider for posts below every single post.

i use wcp-carousel" slider, and the shortcode that i need to put inside is:

[wcp-carousel id="37122"]


The plugin name is : "Responsive Posts Carousel"

I already have tried this: thing 01

• Can we see your code please? – Khushboo Jan 13 at 3:52
• Please share a simplified version of your single.php file with <?php echo do_shortcode('[wcp-carousel id="37122"]');?> in the spot you want it and explain what is or isn't happening. – JasonB Jan 13 at 3:52