I need to add Schema.org microdata to multiple locations pages for a client’s site.
In HTML view I can enter:
However, when I update, then toggle to Visual view, and update again, it strips out all microdata code to just <div> or <span>.
I know there are multiple plugins available for adding microdata, but none of them do exactly what I want, so those are not solutions for me.
I saw this post here, that would probably do the trick to add “extended_valid_elements”; however, I do not know where to place that code, since I do not have backend access to those files. Also, I’m pretty sure any changes to the code would get overwritten if the client ran an update anyway.
We do have TinyMCE Advanced plugin installed, but I’m not sure if I can implement a solution using it. Does anyone have any ideas? I’ve spent hours searching on the web to try to fix this, including extensive research on WordPress forums, and I’ve come up with nothing.
Any help is much appreciated!
- The topic ‘Retain Microdata Code Toggling Between Views’ is closed to new replies.