• Resolved TheTyke

    (@thetyke)


    The plugin with its standard settings is probably the best ratings plugin there is going!!

    But I’m sorry to say that the the documentation for this plugin is as clear as mud when it comes to the additional use of shortcodes!!!

    All I want to do is create a manual list of page/post titles and have the rating for that page/post come up next to it.

    I thought it was a simple as this:

    Test Page 1 [yasr_visitor_votes? size="large" postid="11" readonly=”yes"]
    Test page 2 [yasr_visitor_votes? size="large" postid="12" readonly=”yes"]
    Test Page 3 [yasr_visitor_votes? size="large" postid="13" readonly=”yes"]

    But this just displays stars with no details of scoring

    If I take the read only off the functionality comes but then I can use the stars to rate the apge without even seeing it??

    Please can you assist and lift this plugin up to the top of the plugin tree.

    • This topic was modified 4 years, 1 month ago by TheTyke.
    • This topic was modified 4 years, 1 month ago by TheTyke.
    • This topic was modified 4 years, 1 month ago by TheTyke.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor dudo

    (@dudo)

    it is that simple, but I see some strange characters in your strings, be sure to always use this symbol instead of this .

    Further, if you need to use “large” size, you don’t need to declare it.

    So, you can achieve with this code

    
    [yasr_visitor_votes postid="11" readonly="yes"]
    
    [yasr_visitor_votes postid="12" readonly="yes"]
    
    [yasr_visitor_votes postid="13" readonly="yes"]

    Please keep in mind that a post or page with that postID must exists (even as a draft)
    You can find more info about that here

    Hope this helps!

    Thread Starter TheTyke

    (@thetyke)

    Thanks for the information. My BAD!

    Looks like I need to get some glasses as well as do a PHP course.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Short Code Clartity Please’ is closed to new replies.