devinsays / portfolio-press

A WordPress theme for artists and designers to showcase their work.
https://wptheming.com/portfolio-theme/
GNU General Public License v2.0
62 stars 30 forks source link

Structured Data Notices #111

Open devinsays opened 9 years ago

devinsays commented 9 years ago

User reported the Google Web Master tools is throwing notices about structured data.

Tested this with: https://developers.google.com/structured-data/testing-tool/ URL: http://themes.wptheming.com/portfolioplus/blog/

And confirmed.

They're safe to ignore of course, but would be a nice to fix.

First off let's see if _s has the same issues since most of the markup of similar: https://github.com/Automattic/_s

If it doesn't have an issue, we'll implement the solution they are using.

For more background, the issue I'm seeing is:

"Node is empty. Double check that this is desired and consider removing."

Here's someone with same issue: https://productforums.google.com/forum/#!topic/webmasters/cw5EUZBCGDw

ogonkov commented 7 years ago

I got a lot errors for hentry microformat, that generated by WP by default via post_class The problem is that portfolio didn't need author, but this microformat did

Solution could be remove hentry from post_class, and transfer to schema.org Or add fake (hidden) author and update time to portfolio post