Archived topic
JSON-LD Schema not showing via Hook
5 replies · Started by ROHIT on September 12, 2021
Hi, I am trying to local schema only on home page (https://myhometutors.org/) via GP Hooks (Display location - Page - Home).
But markup is not showing up neither in source code nor in Schema Testing Tool.
To check whether any code is working or not, I simply put "Hello" word on hook and then checked but same result, No Hello in Source Code.
Am i doing it in wrong way?
Hi Rohit,
Can you share w/ the Hook Element settings with us? To check which hook you've placed it on and cross check it on the front-end if it is indeed the case.
Let us know.
Hi, Elvin
Please check at https://share.getcloudapp.com/qGuJ6l50
Can you try doing these changes:
1. Disable Yoast.
2. Change the Display rule location from "Page - Home" to "Front Page".
And then check again if it's showing up. Let us know how it goes.
just changed location to front page and its working. Thanks
Note: I didn't disabled yoast in this case.
Nice one. Glad you got it sorted. :D