Support » Fixing WordPress » Where / How to add [code][/code] to posts?

  • Hey

    I’m looking for a CODE feature the same as the ones found on Forums,

    Where it will add a box around the words for the code and maybe have a select all button.

    I searched through plugins and couldn’t really find anything resembling it.

    Any help is appreciated


    (hope i posted in the right section)

Viewing 2 replies - 1 through 2 (of 2 total)
  • What about the “code” button that is available in the HTML editor (HTML tab when writing a post)?

    Hi Maev

    I wrote a plugin for showing code, although the code needs to be in an external file or url – it’s called External Files.

    If your code snippets are saved as a file or url, you can wrap that file or url in [external] shortcode in the editor and the file will be imported and highlighted automatically.

    Extra parameters allow you to specify which lines to import and override the syntax highlighting format.

    It’s available at

    I’d really appreciate any feedback – I’ll try and update the plugin with any suggestions you have.

    Thanks, Adam

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where / How to add [code][/code] to posts?’ is closed to new replies.