Title: [insert_php]echo &#039;test&#039;;[/insert_php] code show as is on browser
Last modified: August 31, 2016

---

# [insert_php]echo 'test';[/insert_php] code show as is on browser

 *  [lawrencesz](https://wordpress.org/support/users/lawrencesz/)
 * (@lawrencesz)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/insert_phpecho-testinsert_php-code-show-as-is-on-browser/)
 * I downloaded wordpress 4.2.2 and add isert PHP plugin 1.3 after configured wordpress.
   
   Then I follow WP Specialist indications add code to test page as blow: [insert_php]
   echo ‘test’;[/insert_php] Click view / preview to show the page, I saw same words
   on browser as what typed in text area exactly as above. I use EXEC PHP on another
   wordpress site, which works very well. But wordpress said EXEC PHP had been updated
   over 2 years. Anybody has idea to solve this issue? Is there some other plugin
   can I use? I tried PHP code Widget, also won’t work.
 * Thanks very much
 * Lawrence S.Z.
 * [https://wordpress.org/plugins/insert-php/](https://wordpress.org/plugins/insert-php/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [WillBontrager](https://wordpress.org/support/users/willbontrager/)
 * (@willbontrager)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/insert_phpecho-testinsert_php-code-show-as-is-on-browser/#post-7038514)
 * Lawrence, the code in your question works okay when pasted into a post or page.
   Use the Text tab, not Visual, when you paste the Insert PHP code.
 * Insert PHP will not work in widgets, only in posts or pages.
 * I don’t know what WP Specialist is. If it’s a plugin, perhaps it’s being used
   in a manner it wasn’t intended or perhaps it and Insert PHP won’t work together.
 * Will
 *  [gfdesign](https://wordpress.org/support/users/gfdesign/)
 * (@gfdesign)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/insert_phpecho-testinsert_php-code-show-as-is-on-browser/#post-7038767)
 * Hi Will
    A quick question. I am trying with the same code `[insert_php]echo '
   test';[/insert_php]` But I see nothing. Worth mention I am using Visual Composer
   Is there anything else I have to consider? Best regards
 *  [WillBontrager](https://wordpress.org/support/users/willbontrager/)
 * (@willbontrager)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/insert_phpecho-testinsert_php-code-show-as-is-on-browser/#post-7038768)
 * Sorry, if you use Visual Composer, you can’t use Insert PHP. They don’t play 
   nice together.
 * Will

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[insert_php]echo 'test';[/insert_php] code show as is on browser’ is 
closed to new replies.

 * ![](https://ps.w.org/insert-php/assets/icon-256x256.gif?rev=3523853)
 * [Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts](https://wordpress.org/plugins/insert-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [WillBontrager](https://wordpress.org/support/users/willbontrager/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/insert_phpecho-testinsert_php-code-show-as-is-on-browser/#post-7038768)
 * Status: not resolved