The HTML Import plugin got a new feature this week: custom fields now have an option to allow HTML. This is useful for custom fields that are more than just a number or a short phrase. I worked on a site that had unique information in every page’s sidebar, and we needed to import the whole thing into a custom field.
The new option is simply a checkbox that makes the custom field obey the same HTML cleanup options as the post content. There is no way to specify a different set of allowed tags and attributes for the custom fields, so be inclusive when listing those under the Content tab.
The long-outdated user guide has finally been updated to include this and the other new-ish features in the last couple of releases.
Also, the plugin got a little shout-out from the Elegant Themes team, in their guide to converting a static site to WordPress. Thanks, Nathan!
Up next, I have a couple of sponsored features to add, and then I plan to replace the current clunky tag/attribute/value inputs with phpQuery. If you’re a developer and you’d like to contribute to this effort, please let me know!
Leave a Reply