• Resolved alx359

    (@alx359)


    We’re using a templating system to populate hundreds of WC products, so configuring reviews on a per-page basis isn’t feasible. Is it possible to put shortcodes instead that take the context of the current page/product? Example:

    [WPCR_SHOW POSTID=postid SHOWFORM=1]

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Alx359
    I think you need to print the postid as following:
    echo do_shortcode('[WPCR_SHOW POSTID="'.$post->ID.'" NUM="5" PAGINATE="1" PERPAGE="5" SHOWFORM="1" HIDEREVIEWS="0" HIDERESPONSE="0" SNIPPET="" MORE="" HIDECUSTOM="0" ]');

    • This reply was modified 7 years, 4 months ago by malasaad82.
    Thread Starter alx359

    (@alx359)

    Thanks, malasaad82. I’ve already chosen a different plugin (Strong Testimonials) as it better fits my needs.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[WPCR_SHOW POSTID=postid] ?’ is closed to new replies.