Hello,
Thank you so much for getting in touch.
Rank Math already adds schema to WooCommerce product pages, but for your specific case of selling audio files, adding an AudioObject
schema can be beneficial.
The AudioObject
schema is not available in the list of pre-made schema on our plugin.
If you are a PRO user, you can make use of our advanced schema generator to create a custom AudioObject
schema.
A way to get started is to make use of this JSON code as your placeholder:
{
"@context": "https://schema.org",
"@type": "AudioObject",
"contentUrl": "http://media.freesound.org/data/0/previews/719__elmomo__12oclock_girona_preview.mp3",
"description": "Recorded on a terrace of Girona a sunday morning",
"duration": "T0M15S",
"encodingFormat": "audio/mpeg",
"name": "12oclock_girona.mp3"
}
You may refer to this guide on how to import that code to our schema generator: https://rankmath.com/kb/import-schema-markup/
As for the schema type for your category pages, our plugin automatically adds the CollectionPage
by default. the ItemList
schema is also only available for the PRO plugin: https://rankmath.com/kb/itemlist-schema/
Don’t hesitate to get in touch with us if you have any other questions.
Thanks for the response.
The AudioObject schema is not available in the list of pre-made schema on our plugin.
So that means I can’t add any AudioObject schema on free version? How can I custom add this schema to my all instrumental product pages?
As for the schema type for your category pages, our plugin automatically adds the CollectionPage by default
I have the CollectionPage schema added to my collection pages on free version? or it’s only on PRO?
I want to get PRO version in the future but not yet. How can I do it all on FREE version?
Hello,
In the free version, you may need to use and customize this filter to add that schema on your instrumental product pages:
https://rankmath.com/kb/filters-hooks-api-developer/#extend-json-ld-data
The collectionPage schema is added to your category pages automatically on the free version as well.
Looking forward to helping you.
In the free version, you may need to use and customize this filter to add that schema on your instrumental product pages:
https://rankmath.com/kb/filters-hooks-api-developer/#extend-json-ld-data
My bad, I don’t understand. Can you further explain it please?
Hello,
We will be happy to explain how to add the AudioObject schema to your product pages using the free version of Rank Math.
Since the AudioObject schema is not available in the pre-made schema types and the advanced schema generator and custom schema template are not available in the free version of Rank Math, you’ll need to manually add it using a filter.
You may need to use and customize this filter to add that schema on your instrumental product pages:
https://rankmath.com/kb/filters-hooks-api-developer/#extend-json-ld-data
If you’re not sure how to add this code, you can follow this guide: https://rankmath.com/kb/wordpress-hooks-actions-filters/.
We hope this helps. Please let us know if you have further questions or concerns.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.