Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor MariusG

    (@marius_codeinwp)

    Hello Tom,

    When creating/editing a new post click Get Shortlink and it will give you the post ID.
    But shortcodes are not available in the Lite version, how are you going to use it?

    Kind regards,
    Marius

    Plugin Contributor MariusG

    (@marius_codeinwp)

    I think I got your mail too.
    If you need the value of current post, simply use $post->ID in that field and it’ll do it.

    Kind regards,
    Marius

    Thread Starter TomParisDE

    (@tomparisde)

    Ahh ok,

    the wording could be better.

    “You can choose manually and use : <?php echo cwppos_show_review(‘postid’); ?> or for PRO members use shortcode :[P_REVIEW post_id=3067 visual=’full’]”

    So for me it means PRO members can use the shortcode and free members can use the php code.

    ^^ nerver mind. great tool

    Plugin Contributor MariusG

    (@marius_codeinwp)

    Well, what I meant is that you cannot use php code into the content of a post, so there would be no use of that function and a “static” post ID (unless you would want the same review displayed on everywhere).
    If you want to create your template/edit the theme so that the review will always be posted in a specific place on every review article, then $post->ID is the way to do it.

    I hope I managed to explain well ??

    Kind regards,
    Marius

    RobMiker

    (@robmiker)

    Hi Marius,

    it is still not really clear to me.

    Could you please explain me how to manually add product reviews to my site pages (in the free version)?

    Thanks,

    Plugin Contributor MariusG

    (@marius_codeinwp)

    Hello Rob,

    To insert a review with the Lite version, you have to use this function:
    <?php echo cwppos_show_review('postid'); ?>

    Simply replace postid with your desired post’s ID.
    This should be added in the page’s template (code), adding php code inside the post is pretty tricky.

    Kind regards,
    Marius

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Where can i find the POSTID’ is closed to new replies.