• Resolved peppomcr

    (@peppomcr)


    Hello,
    I’ve installed the extension with WPSSO Core Pro.
    I can’t see the stars when I try to comment.

    Thanks.

    Cheers

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author JS Morisset

    (@jsmoriss)

    Please edit the post make make sure the ratings/review feature is enabled.

    js.

    Thread Starter peppomcr

    (@peppomcr)

    Yes I use Litespeed cache plugin.
    Could you give me the exact path and name of the javascript I have to exclude?

    Thanks.
    Cheers

    Plugin Author JS Morisset

    (@jsmoriss)

    You seem to be using a plugin to defer loading javascript:

    
    <script type='text/javascript' src='https://www.tokos.it/wordpress/wp-content/plugins/wpsso-ratings-and-reviews/js/script.min.js' defer data-deferred="1">
    

    Have you tried disabling that for this script?

    js.

    Thread Starter peppomcr

    (@peppomcr)

    I’ve disabled deferring for the script and it doesn’t work.
    I’ve disabled deferring globally and it doesn’t work.
    Purged all caches.

    Now I leave deferring disable.

    Cheers.

    Plugin Author JS Morisset

    (@jsmoriss)

    Try v1.3.1 of the plugin.

    I’ve added a jQuery( document ).ready() wrapper to the plugin jQuery script to delay it’s execution until the HTML document is fully loaded.

    I suspect the jQuery script was running before the document was fully loaded (your HTML document is quite long and your comment block is at the end, so this is likely the problem).

    js.

    Thread Starter peppomcr

    (@peppomcr)

    Plugin updated.
    Purged all caches.
    Still not working.

    Cheers.

    Plugin Author JS Morisset

    (@jsmoriss)

    Ah, I see what’s going on – your theme is adding an extra class="assistive-text" to the <label> HTML tags – this is unexpected and the plugin is unable to locate the “comment” label correctly. Let me see if I can adjust the regex match to compensate.

    js.

    Plugin Author JS Morisset

    (@jsmoriss)

    Done. Should be working fine now. ??

    js.

    Plugin Author JS Morisset

    (@jsmoriss)

    BTW, that class="assistive-text" attribute does not appear to come from WordPress. The wordpress/wp-includes/comment-template.php comment label on line #2219 is <label for="comment">.

    js.

    Thread Starter peppomcr

    (@peppomcr)

    It’s not working for me.
    Any idea?

    Thanks.
    Cheers.

    Plugin Author JS Morisset

    (@jsmoriss)

    WPSSO RAR v1.3.2 includes HTML comments in the webpage to indicate if there were problems, but you have a plugin or service removing HTML comments. If you’d like to disable that, I can have another look.

    js.

    Thread Starter peppomcr

    (@peppomcr)

    I can’t find what is blocking HTML comments… Any idea of what can block them?

    Cheers.

    PS: to thank you for the time you are dedicating to me, I will send you the Italian translation of the plugin as soon as possible

    • This reply was modified 7 years ago by peppomcr.
    • This reply was modified 7 years ago by peppomcr.
Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Plugin not working’ is closed to new replies.