Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1464534

    Hi,

    I tried to understand from other forum topics, but still not sure how to do the following:

    I use trustindex.io to show up the google reviews on the website https://www.rietreiger.nl
    I checkmarked the ‘rich snippet’ option in trustindex.io and therefore I have to insert a code in the <head> tag. See private content

    Where can I do this? I use the child theme.

    Many thanks in advance

    #1464540

    Hey JannyPolak,

    You can use this in your functions.php file:

    function janny_trust_index_script(){
    ?>
      YOUR SCRIPT GOES HERE
    <?php
    }
    add_action('wp_head', 'janny_trust_index_script');

    Best regards,
    Rikard

    #1464676

    I inserted the code and now waiting for Google Search Control results if it works ;)
    Thanks

    #1464683

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1464695

    I am waiting for the validation process of Google Search Console, but for now it is okay to close. If the validation fails, I will let you know ;)

    #1464705

    Hi,

    Thanks for letting us know, we’ll keep this thread open for you.

    Best regards,
    Rikard

    #1465326

    Hi
    Google search is still not happy with my adjustments ;)
    Some pages are okay now, but one is not

    ‘Beoordelingsrichtlijn valt buiten reviewbereik’ is still the message in Search Console for page https://gruttefiif.nl/fotos
    (Assessment guideline is outside review scope)

    Can you check in the private section if I inserted the script in functions.php correctly?
    Or did I make a typing error?

    Thanks in advance

    #1465345

    Hi,
    The code looks correct and I see that the richsnippet.js is loading on your page, so I’m not sure what (Assessment guideline is outside review scope) is but I think it is about how your page is rated. Try asking the trustindex.io support as the code is working on your page.

    Best regards,
    Mike

    #1465488

    Thanks Mike for the confirmation.
    Talked with Trustindex today and it seems indeed they have an issue.

    You can close the thread.

    Thanks again

    #1465497

    Hi,

    Thanks for the update, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘how and where to insert a code into the tag?’ is closed to new replies.