• I am using WordPress 2.8.2 with the inove 1.4.5 theme. When I use the tag it does not work as I would like it to. I have read http://codex.wordpress.org/Writing_Code_in_Your_Posts and still can't get it working.

    I just want to be able to put around something and have it put it in a nice code box. Can someone let me know what I am doing wrong?

    Additionally is there somewhere I can define what color the background and text of the code box is?

Viewing 1 replies (of 1 total)
  • Are you using the HTML tab or the Visual Editor? You can only add markup (code) to your posts using the HTML tab. Switching between the two tabs is also likely to cause problems. You need to stick to the HTML tab.

    Also when adding a block of code to a post, ensure that all < and > tags are escaped.

    < should be replaced by <
    > should be replaced by >

    Additionally is there somewhere I can define what color the background and text of the code box is?

    That would be in your theme’s stylesheet. For example:

    pre,code {
    background:#F3F3FB;
    color:#404040;
    }
    pre {
    border:1px solid #D5CDD5;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘inove theme and code tags not working’ is closed to new replies.