Hello,
I apologize for the issue you are facing with the Local Business schema and the opening hours not appearing correctly. Thank you for your detailed explanation of the steps you’ve taken so far.
It sounds like you’ve done a lot of troubleshooting already. Here are a few suggestions to help resolve the issue:
-
Ensure Local SEO Module is Enabled: Double-check that the Local SEO module is enabled in Rank Math. You can do this by navigating to Rank Math SEO → Titles & Meta → Local SEO and ensuring that all relevant settings are configured correctly.
-
Use the Correct Shortcode: When using the shortcode, make sure it is formatted correctly. For example:
[rank_math_local type='opening-hours' locations='YOUR_LOCATION_ID']
Replace YOUR_LOCATION_ID
with the actual ID of your location post. You can find this ID in the URL when editing the location in the WordPress dashboard.
-
Check Elementor Settings: If you’re using Elementor, ensure that you are using the Shortcode widget correctly. After dragging the Shortcode widget into your layout, paste the shortcode directly into the field without any additional formatting or HTML tags.
-
Clear Cache Again: Sometimes, caching plugins can interfere with changes. Make sure to clear your site cache again after making changes to the shortcode or settings.
-
Inspect Source Code: After saving your changes, inspect the source code of your page (right-click and select "View Page Source") to see if the Local Business schema is being generated correctly. Look for schema.org/LocalBusiness
and check if the opening hours are included.
-
Test with Google Rich Results Tool: After making these adjustments, use the Google Rich Results Test again to see if the opening hours appear.
If you’ve tried all these steps and are still having issues, it might be beneficial to consider our professional setup service, which can ensure that your Rank Math plugin is configured correctly according to the latest SEO standards. You can find more information about this service here.
Please reply to this ticket with any additional details or if you need further assistance, and a human agent from our support team will take over and help you resolve this issue.
Thank you for your patience, and we hope to get this sorted out for you soon!
I still need help, all points completed
After adding the Local Business subclass to the organization, opening hours appeared after about 24 hours. Problem solved.
Hello,
Thank you so much for getting in touch.
Glad to know that you have sorted this out.
Don’t hesitate to get in touch with us if you have any other questions.