Reputation: 51
I'm building a WordPress theme. The LocalBusiness entity is stated in the header of the website (present on every page). I would like to "itemref" the business description, which is only present on the home page. I can put the reference in and it will work on the home page, but on every other page there will be a reference to a non-existent item. Is this a bad thing or not?
Upvotes: 1
Views: 115
Reputation: 96737
The itemref
attribute can only be used for referencing elements from the same document.
What to do instead?
You could duplicate the description
on each page. If you don’t want to have it as visible content, you could use a meta
element.
You could omit the description
on the additional pages.
You could (and should anyway) provide the url
for the item (typically the homepage, if the whole site is about this business), and hope that consumers interested in this item will follow the URL to learn more about it (so they would find the description
).
Upvotes: 1