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

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"]

Please help me to activate it so the carousel slider can work.

The plugin name is : "Responsive Posts Carousel"

I already have tried this: thing 01

share|improve this question
  • 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
  • Please read How to ask. Please provide a Minimal, Complete, and Verifiable example. Please read How do I format my posts using Markdown or HTML?. – buhtz Jan 13 at 4:33

1 Answer 1

active oldest votes
up vote 1 down vote
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.381069 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO