Skip Navigation

[Resolved] Google Structured Data Tag

This support ticket is created 7 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 3 replies, has 2 voices.

Last updated by barisS 7 years, 1 month ago.

Assisted by: Beda.

Author
Posts
#574985

hi,

[types field='main-picture' itemprop="image" alt='%%ALT%%' title='%%TITLE%%' width='750' height='400' align='center' resize='proportional'][/types]

I added (itemprop="image") but it doesn't display it in the front-end. How can make it visible?

#575024

You cannot add ShortCode attributes to a ShortCode without having a valid callback for it, and that would require hacking Toolset Core Code.

We have no filters in place to add new Attributes either.

You would need to add this HTML tag differently, with JS as the example, but Google will not be happy with this, as it states the microdata should not be added with JS.

This requires a new feature, which we will file, but I cannot state any ETA or whether it is accepted or not, right now.

You could currently create your own HTML and use only the Raw output (URL) of the image; this should solve your issue for now.

#575069

Is there any way to hide the link in the front end but google can still see it?

My page is right now like:

<p itemprop="image">
hidden link
</p>
<img alt="" title="" class="aligncenter" src="www.image-link-is-here.com" />

#575086

I figured it out. Thanks