Last active
October 3, 2018 16:28
-
-
Save rosshanney/5425930 to your computer and use it in GitHub Desktop.
Add the itemprop, itemscope and itemtype attributes, and the meta tag to the list of allowed tags / attributes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is really useful because most people are worried about microdata being striped from the HTML editor / TinyMCE. The reality is that as more and more of us will be using the REST requests to communicate with wordpress, we'll still stumble on the problem.
Note that this works even if your html data is coming via WP REST API.
THANKS SO MUCH !!!