WordPress.org

Support

Support » Plugins and Hacks » Code Snippets » [Resolved] PHP tags

[Resolved] PHP tags

  • Is ther a way to use the <?php> tags?

    A lot of snippets (almost all of them) you can find in Internet are formated in a way that they use the php tags, so that when I want to use one, I cannot just copy pase them, but I have to strip the tags, and include some echos in order that I can use it in Code Snippets.

    So… Is ther a way to use the <?php> tags, so I don’t need to change every code?

    Great plugin anyway!! ^_^

    Joan

    http://wordpress.org/extend/plugins/code-snippets/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shea Bunge

    @bungeshea

    Version 1.7 will automatically strip the <?php and <? tags from the beginning of the snippet, and the ?> tags from the end. It will also fix the issue preventing you from using those tags inside a snippet (to output HTML in a function, etc). In short, Code Snippets 1.7 will fix this issue, and should be released very soon!

    Oh, that’s just great! Terrific!

    Great, great plugin, congrats!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] PHP tags’ is closed to new replies.
Skip to toolbar