-
AuthorPosts
-
August 13, 2024 at 2:31 pm #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 contentWhere can I do this? I use the child theme.
Many thanks in advance
August 13, 2024 at 3:38 pm #1464540Hey 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,
RikardAugust 15, 2024 at 10:56 am #1464676I inserted the code and now waiting for Google Search Control results if it works ;)
ThanksAugust 15, 2024 at 12:21 pm #1464683Hi,
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,
RikardAugust 15, 2024 at 3:18 pm #1464695I 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 ;)
August 15, 2024 at 3:57 pm #1464705Hi,
Thanks for letting us know, we’ll keep this thread open for you.
Best regards,
RikardAugust 25, 2024 at 9:25 am #1465326Hi
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
August 25, 2024 at 1:51 pm #1465345Hi,
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,
MikeAugust 27, 2024 at 12:20 pm #1465488Thanks Mike for the confirmation.
Talked with Trustindex today and it seems indeed they have an issue.You can close the thread.
Thanks again
August 27, 2024 at 4:07 pm #1465497Hi,
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 -
AuthorPosts
- The topic ‘how and where to insert a code into the tag?’ is closed to new replies.