Shortcode using do_shortcode
-
Hi Guys
I am using your plugin the problem I am facing is I used this as below.
<?php echo “post id us:”. $post_id = get_the_ID(); ?>
<?php echo do_shortcode(‘[site_reviews_form title=”Comment” description=”Love this story? Comment and tell us how you like this story?” assign_to=”.$post_id.” id=”jmf1tjx9″ hide=”email,terms,title”]’); ?>
<?php echo do_shortcode(‘[site_reviews title=”Recent Reviews” count=”10″ rating=”5″ pagination=”true” assigned_to=”.$post_id.” schema=”true” id=”jmf15s45″]’); ?>Now issue is it is displaying same on all the posts.So How do I differentiate id value?
or
I have to add manually in each posts?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Shortcode using do_shortcode’ is closed to new replies.