Hi, by default there is WYSIWYG post field that I can use to publish HTML on the front-end via the Text editor (if I switch to it manually). However, I use CSV Importer Pro to publish content automatically. If I use it to publish HTML, it inserts raw HTML on front-end because it sends data to WYSIWYG Visual editor. Is there a possibility to publish HTML via Text Editor on auto-pilot?
Hi, I'm not sure how your importer works, but if it inserts raw HTML into the database, then it should display correctly in either the Visual or Text tabs. For example, I just tested this out by creating a new post with a WYSIWYG custom field called "representation." I inserted the following raw HTML for the custom field directly into the database:
<a href="http://toolset.com">Visit toolset.com</a>
Then when I edited the post in wp-admin, you can see that the Visual tab of the WYSIWYG field was formatted correctly: I see the link text underlined to represent a link. In the raw Text tab, I see the raw HTML I inserted in the database. So there's nothing inherently wrong with putting direct HTML into the database. If you are seeing HTML code appear on the front-end of the site instead of rendering as expected, that indicates your import process is somehow translating and replacing code symbols with their HTML equivalents. That would result in the HTML markup printed on the front-end of the site, rather than being rendered as actual HTML.