WordPress.org

Ready to get started?Download WordPress

Forums

Code Snippets
[resolved] PHP tags (3 posts)

  1. Joan Boluda
    Member
    Posted 1 year ago #

    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/

  2. Shea Bunge
    Member
    Plugin Author

    Posted 1 year ago #

    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!

  3. Joan Boluda
    Member
    Posted 1 year ago #

    Oh, that's just great! Terrific!

    Great, great plugin, congrats!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.