So I need to use Artiss Code Embed a wordpress plugin designed to overcome the RTF editor’s unpleasant habit of converting code special characters to HTML.
This article, explains how to use it. I summarise,
- Install the plugin,
- Turn on custom fields using the screen options tab in the right hand side of the screen
- Create a custom field. The field name needs a prefix defined in the “Code Embed” settings panel on the dashboard. The delimiters are also configurable. The defaults are CODE and %, but they could probably changed to allow {htmlnn}.
- The custom field is inserted into the wordpress post/page.
I have tested this using the paper.li headline widget, which I have placed in <center> tags.
paper.li seems to have gone and so this doesn’t work any more.
Next I need to experiment with css and the height and width parameters and then go back through all the posts in this wiki which have code embedded.
3 Replies