Support » Plugin: Allow PHP in Posts and Pages » can't jump in and out of PHP after [/php]

  • I don’t know if this is a bug or the plugin just doesn’t work this way, but if I have code like the below, the php stops working after the first [/php]. So in the below, we never get the email returned from the database. But it does work if I keep it all in the intial [php][/php]. I really need to be able to jump in and out of php in my code….

    Print “[strong]Name: [/strong]”;
    echo $current_user->display_name;
    echo “[br /][br /]”;


    Print “[strong]email: [/strong]”;
    echo $current_user->email;
    echo “[br /][br /]”;

  • The topic ‘can't jump in and out of PHP after [/php]’ is closed to new replies.