• Hi,

    I’m using the latest version of WordPress with the Twenty Fifteem theme.

    I have added the following shortcode into the content.php file to display the review form above the content.

    echo do_shortcode('[WPCR_SHOW POSTID=' . get_the_ID() . ' NUM="5" PAGINATE="1" PERPAGE="5" SHOWFORM="1" HIDEREVIEWS="0" HIDERESPONSE="0" SNIPPET="" MORE="" HIDECUSTOM="0" ]');

    The create your own review button is showing and works, the form is displayed when clicked to leave a review.

    I can see that the review initially gets associated with the post but when the review is opened in the admin so that it can be approved/published the association is deleted, there is no longer an entry for wpcr3_review_post meta value (it is there before the review has been approved/published)

    If I remove the shortcode and tick the Enable WP Customer Reviews for this page checkbox on the post then this works fine. If I also include the shortcode on the single.php file then I get duplicate reviews displaying.

    Any ideas?

    Many thanks,

    Richard.

    https://wordpress.org/plugins/wp-customer-reviews/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nospario

    (@nospario)

    Hi,

    Anyone got any ideas about this one? Is the plugin developer responding to queries?

    Many thanks,

    Richard.

    Hi,
    I have the same problem with a theme developed by me.
    The only solution I found is to enable the review for the post.
    Doing so, the reviews were displayed together with the field “content” and was not good for the layout realized so I had to hidden the div containing the reviews and, at the bottom of the page, I put the shortcode.

    • This reply was modified 7 years, 2 months ago by pigiakeys.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Short Code Not Working on Twenty Sixteen Theme’ is closed to new replies.