WordPress.org

Forums

Allow PHP in Posts and Pages
issue when snippet and inline code is used (1 post)

  1. skel77
    Member
    Posted 1 year ago #

    snippets works well but there is something badly wrong when a mix of inline php code and snippets are used.


    [php function=3]
    my first text
    [php debug=0] echo 'this is test 01'; [/php]

    my second text
    [php debug=0] echo 'this is test 02'; [/php]

    the result is

    "test

    my second text
    this is test 02"

    php function 3 is just another echo "test"

    the section
    my first text
    [php debug=0] echo 'this is test 01';
    is completely dropped and enabling debug info does not show any error either

    Has anybody come across this ? Any way to over come it ?

    Thanks

    http://wordpress.org/plugins/allow-php-in-posts-and-pages/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Allow PHP in Posts and Pages
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic