• Resolved Jld142

    (@jld142)


    Hello,

    I am trying to use shortcode to add a rating at a specific point in my blog posts. I have read this forum and found a way to do so using shortcode.

    So i have 3 pages
    Post one – [ratingwidget post_id=1]
    Post two – [ratingwidget post_id=2]
    Post three – [ratingwidget post_id=3]

    So if my understanding is correct i have inserted 3 DIFFERENT rates. However if i give a rating on post 1, it also shows on posts 2 and 3.

    I want to be able to rate each post differently.

    Can you help me please ?

    https://ww.wp.xz.cn/plugins/rating-widget/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @jld142,

    For clarification, did you mean putting the ratings on 3 pages or 3 posts?

    For posts:
    Current post rating – [ratingwidget]
    Specified post rating – [ratingwidget post_id=123]

    For pages:
    Current page rating – [ratingwidget type=”page”]
    Specified page rating – [ratingwidget type=”page” post_id=123]

    Btw. Please do note that the post ID number should be relevant to the number of the post in your WP.
    You can check the post number by:

    Thread Starter Jld142

    (@jld142)

    hi @bryan Lam,

    I am putting the rating on posts.

    I have been using the correct shortcode as mentioned above.
    Maybe I am using the incorrect post ID’s. I will check this and report back.

    Thanks 🙂

    Thread Starter Jld142

    (@jld142)

    Thank guys. Issue resolved

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Different ratings for each post using shortcode’ is closed to new replies.