• Resolved beckykwanga

    (@beckykwanga)


    I have a custom post type Property page php template called single-estate_property.php. All I had to do before was enter the following codes;
    <?php echo do_shortcode(‘[WPCR_INSERT]’); ?>
    <?php echo do_shortcode(‘[WPCR_SHOW] ‘); ?>

    and it worked perfectly.

    After the latest update, I tried following your instructions below;

    PHP Functions ( use in your theme/template files )
    To create a more advanced implementation, you can use any shortcode in your theme/template files. Any developer familiar with customizing WordPress themes/templates can assist.

    Example: <?php echo do_shortcode(‘[WPCR_SHOW POSTID=”ALL” NUM=”3″]’); ?>

    The above example did NOT work.

    How can users with custom post types insert a code that works please?
    Note the custom post type does NOT have page/post ID as it is NOT a page/post, but a .PHP template.

    Help, this is urgent!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter beckykwanga

    (@beckykwanga)

    I downgraded to version 2. I’m smiling again:-)

    Thread Starter beckykwanga

    (@beckykwanga)

    Hi, has this issue been resolved? I would like to update the plugin if this issue has been resolved for custom post types. Many thanks.

    Plugin Author Aaron Queen

    (@bompus)

    All custom post types must have a post ID. If they don’t have one, it isn’t really a WP custom post. If you don’t have an ID that you can use, the plugin won’t work in the new version. If needed, you can however, just create a dummy page/post (enable WP Customer Reviews on it and enter product/business info) and use it’s ID in your PHP template, so it can associate everything properly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Review Shortcode NOT Working For PHP Templates/ Custom Post ypes’ is closed to new replies.