Embedding Code in WordPress.

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,

  1. Install the plugin,
  2. Turn on custom fields using the screen options tab in the right hand side of the screen
  3. 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}.
  4. 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.


%CODE1%


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 embeded.


Comments ( 3 )

  1. blog.davelevy.info V4 | wiki.davelevy.info
    […] I added artiss code embed in Oct 2013, see Embedding Code in WordPress […]
  2. delicious linkrolls | wiki.davelevy.info
    […] Artiss Embeded Code was installed and I have now locate the scripts in code objects. Oct 2013 […]
  3. delicious linkrolls |
    […] originally saved the code as text in a page, and latterly, from Oct 2013 used Artiss Embeded Code and I located the scripts in code objects. delicious withdrew the javascript. I implemented JP’s […]

This site uses Akismet to reduce spam. Learn how your comment data is processed.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close