Site logo

[Support request] All in One Schema Rich Snippets issue

Home Forums Support [Support request] All in One Schema Rich Snippets issue

Home Forums Support All in One Schema Rich Snippets issue

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #729885
    Nacho

    Hello,

    I´m using the all in one Schema Rich Snippets for the URL below and it looks weird with Generatepress. It works fine with the basic WordPress themes like Twenty fifteen or so but I don´t see why it does not work properly with GP.

    Can you help please?

    Thanks a lot.

    #729983
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Any examples of what it should look like?

    Let me know 🙂

    #730110
    Nacho

    Hello,

    Sure it has to look like something in this website: https://barbacoas.online/tepro/tepro-toronto/

    Also try pressing the 5 stars, it should give you an alert like this “Ratings updated successfully !” at the top but it does not.

    Thanks a lot.

    #730399
    Tom
    Lead Developer
    Lead Developer

    It seems the plugin assumes that everything is set to box-sizing: border-box, which is likely a bug on their end.

    This should fix it:

    #snippet-box * {
        box-sizing: border-box;
    }
    #731149
    Nacho

    Hello Tom,

    It´s weird since I did put that in the CSS part in the customizer, yet it does not work. It works though when I´m logged in into WordPress.

    Do you know how to fix this?

    Thanks a lot for your help.

    #731151
    Nacho

    Also,

    I´ve just tried clicking on the 5 stars and it does not work either.

    Thanks a lot Tom.

    #731391
    Tom
    Lead Developer
    Lead Developer

    Here’s what I’m seeing now: http://prntscr.com/lkfmnb

    The stars don’t seem to be working because jQuery isn’t defined. GeneratePress doesn’t add jQuery by default, and the plugin is making an assumption that jQuery exists.

    You should report this to them, as they can add it as a dependency to their script.

    For now, you can add this function:

    add_action( 'wp_enqueue_scripts', function() {
        wp_enqueue_script( 'jquery' );
    } );
    #732247
    Nacho

    Hello Tom,

    Where should I put that in the theme? I´m not code savvy.

    Thanks a lot for your help Tom

    Bests,
    -Nacho.

    #732383
    Tom
    Lead Developer
    Lead Developer

    You can add it using one of these methods: https://docs.generatepress.com/article/adding-php/

    #733204
    Nacho

    Hello Tom,

    I´ve just done it using the code snippets plugin but it´s not working either.

    What can I do?

    Thanks a lot.

    #733584
    Tom
    Lead Developer
    Lead Developer

    I’m still seeing the jQuery is not defined error.

    Make sure to clear any caching plugins.

    #733823
    Nacho

    Hello Tom,

    I´ve just cleared caché, tried several times and nothing.

    Is there anything I can do?

    Thanks a lot.

    #733866
    Tom
    Lead Developer
    Lead Developer

    Can you make sure the Code Snippet is activated?

    If it is, can you deactivate the caching plugin so I can debug further?

    #734664
    Nacho

    Hello Tom,

    Just checked the plugin and it´s active. Also, I´ve just deactivated the cache plugin.

    Let me know if there is anything I can do to help.

    Thanks a lot Tom.

    #734768
    David
    Staff
    Customer Support

    Hi there,

    have you tried clearing your browser cache? I can see that jQuery is running and there looks to be the additional markup being added.

Viewing 15 posts - 1 through 15 (of 19 total)
  • You must be logged in to reply to this topic.