Support » Plugin: Rich Reviews » Error do_shortcode(‘[RICH_REVIEWS_SNIPPET]’)

  • Good morning.
    Sorry for my English.
    I have a problem viewing comments in a post using a shortcode inserted in the php page.
    I used the following code:

    <h2 style=”color:#077ab3;”>Commenti e Valutazione </h2>
    <?php $postid = get_the_ID();?>
    <?php //echo $postid;?>
    <?php echo do_shortcode(‘[RICH_REVIEWS_SNIPPET id=”‘.$postid.'”]’);?>
    <?php echo do_shortcode(‘[RICH_REVIEWS_SHOW NUM=”all” id=”‘.$postid.'”]’);?>
    <h2 style=”color:#077ab3;”>Dai una votazione</h2>
    <?php echo do_shortcode(‘[RICH_REVIEWS_FORM]’);?>

    but in all the pages it makes me see the same comments, even when they are not associated with that particular pageid.
    What am I doing wrong?

    Thank you
    Luciano

  • The topic ‘Error do_shortcode(‘[RICH_REVIEWS_SNIPPET]’)’ is closed to new replies.