Insert PHP Code Snippet


A quicklook into Insert PHP Code Snippet

★ Convert PHP snippets to shortcodes
★ Insert PHP code easily using shortcode
★ Support for PHP snippet shortcodes in widgets
★ Dropdown menu in TinyMCE editor to pick snippet shortcodes easily

Features in Detail

Insert PHP Code Snippet allows you to create shortcodes corresponding to PHP code snippets. You can create a shortcode corresponding to any random PHP code such as ad codes, login validation etc. and use the same in your posts, pages or widgets.

The shortcodes generated using the plugin are easily available as a dropdown in the standard wordpress content editor as well as in widget settings, thereby giving you ease of integrating your PHP snippets with your posts and pages.


Insert PHP Code Snippet is developed and maintained by XYZScripts. For any support, you may contact us.

★ [Insert PHP Code Snippet User Guide](”Insert PHP Code Snippet User Guide”)
★ [Insert PHP Code Snippet FAQ](”Insert PHP Code Snippet FAQ”)

More Information

★ [Insert PHP Code Snippet User Guide](”Insert PHP Code Snippet User Guide”)
★ [Insert PHP Code Snippet FAQ](”Insert PHP Code Snippet FAQ”)


Please read the FAQ first if you are having problems.


WordPress 3.0+
PHP 5+ 


We would like to receive your feedback and suggestions. You may submit them at our support desk.


Insert PHP Code Snippet User Guide
Insert PHP Code Snippet FAQ

  1. Extract to your /wp-content/plugins/ directory.
  2. In the admin panel under plugins activate Insert PHP Code Snippet.

If you need any further help, you may contact our support desk.


★ [Insert PHP Code Snippet User Guide](”Insert PHP Code Snippet User Guide”)
★ [Insert PHP Code Snippet FAQ](”Insert PHP Code Snippet FAQ”)

1. The Insert PHP Code Snippet is not working properly.

Please check the wordpress version you are using. Make sure it meets the minimum version recommended by us. Make sure all files of the insert php code snippet plugin uploaded to the folder wp-content/plugins/

2. I have 2 PHP shortcodes placed adjacently, but only one of them works.

Please use a whitespace to separate 2 shortcodes.

More questions ? Drop a mail and we shall get back to you with the answers.


Not Bad

I like the functionality that it offers. If you are looking for static php code that needs to be executed this is for you.

In my instance I really needed something that I can pass parameters to. This doesn’t allow for any type of dynamic entry. Looked through the documentation and found nothing of the sort.

But not bad for a plug-in. Not for me.

Works great

Just used for displaying ACF PHP outputs in Beaver Builder fields and works no probs.

Great Plugin

This plugin is the bomb diggity. The PHP shortcode feature makes this app super useful. Makes everything on my website work properly the way it should be.

Simple and Effective

You don’t need a complex plugin to do the job and, frankly, this one could not be simpler. It’s really great to be able to write a piece of PHP code and have it do something that WP can’t do natively.

I use it a lot for displaying and testing for future dates. On one of my sites, there is something that occurs every 3rd Tuesday of the month. Instead of me going in there on a monthly basis and hard-coding the “upcoming date”, I just use a PHP snippet including strtotime and date to do the work for me.

If that’s what you’re looking for, just download and use this plugin.

Great Plugin!

I use this plugin to inject php code snippets with Beaver Builder. It rocks, and works great with Beaver Builder Themer.

Read all 55 reviews

Contributors & Developers

“Insert PHP Code Snippet” is open source software. The following people have contributed to this plugin.




  • Nonces Added.
  • A few bug fixes.


  • Compatibility with wordpress 4.3
  • Added options to sort snippets in admin area by id and title
  • Removed redirection after snippet edit


  • Snippet chooser TinyMCE plugin modified
  • Compatibility with wordpress 3.9
  • A few bug fixes


  • First official launch.