• Hi there!

    To begin with, after a week of researching, reading through lots of different solutions..I simply gave up.

    The problem (I’ve realised this has been affecting quite few WordPress sites), are the errors as per example below:

    Error: Missing required field “entry-title”.
    Error: Missing required field “updated”.
    Error: Missing required hCard “author”.

    Google rich snippets tool shows over 100 of these errors on various pages on our site, I couldn’t find a working solution anywhere.

    We use WordPress theme called Kickstart, which I guess made things complicated as is slightly different. All solutions I’ve found where for more common themes 🙁

    Any ideas please?

    Many thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator bcworkz

    (@bcworkz)

    Ideally, you need to modify all of your theme’s templates so the output provides everything Google is looking for. You normally would want to create a child theme to do this, but I believe theme forest themes are implemented as children, and you cannot create grand child themes. Do not directly edit your theme’s templates.

    You might find filters you can use to provide the fields that Google wants. Hook the filters from your own custom plugin. For tags where no filters are available you’re out of luck. Either ignore Google’s complaints or switch to a theme that you can make a child theme from.

    Thread Starter albert85y

    (@albert85y)

    There must a a way of doing it in bulk instead of amending all records – by the way – how can I do that?

    Thanks

    Moderator bcworkz

    (@bcworkz)

    Sorry for the slow reply.

    Yes, the appropriate SQL query could find tags in need of update and then update them. I personally hate to run open ended update queries, a small mistake can make a real mess of things. Of course I back up my DB before hand, but still…

    I prefer to write a PHP loop to find the appropriate records and make changes one by one. It’s much slower, but I’m much more comfortable with PHP than SQL.

    That still doesn’t solve the problem for new posts that a template change could correct. You could hook on to one of the actions that fire when a post is saved and run a script that searches for appropriate tags and inserts attributes. String manipulation scripts are inherently weak, but you have little recourse if you cannot create a child theme.

    Thread Starter albert85y

    (@albert85y)

    Thanks for replying bzworkz. However quite frankly I don’t have a clue about hardcore (in my opinion) SQL or PHP coding. I just wanted to get a few lines of code to apply to my theme. There’s a bunch of solutions online, but none of them worked or/and with Kickstart theme. I’m a bit hopeless 🙁

    Moderator bcworkz

    (@bcworkz)

    Right, if you do not understand something, of course it appears “hardcore”. Unfortunately, this sort of code involving string search and replace needs careful testing (IMO anyway) on the actual data to be sure everything works properly. Especially when the results are saved back to the DB. It’s beyond the scope of these forums to do testing on other people’s sites and data.

    Perhaps someone else is willing to provide untested code that should work for you, but I’m not comfortable doing so. Sorry, best of luck to you.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Issues with Structured Data in Webmaster tools’ is closed to new replies.