Insert PHP Code Snippet

Descripción

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.

About

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 FAQ

More Information

Insert PHP Code Snippet User Guide
Insert PHP Code Snippet FAQ

Troubleshooting

Please read the FAQ first if you are having problems.

Requirements

WordPress 3.0+
PHP 5+

Feedback

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

Capturas

  • This is the shortcode generator page
  • This is page where you can manage all your snippets
  • The shortcodes are easily accessible in the content editor

Instalación

Insert PHP Code Snippet User Guide
Insert PHP Code Snippet FAQ

  1. Extract insert-php-code-snippet.zip 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.

Preguntas frecuentes

Insert PHP Code Snippet User Guide
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.

Reseñas

27 de junio de 2022
I tried a different plugin to insert some PHP code in to my second website and it broke my website! I couldn't believe there were no safeguards in place in the event my code was flawed. The whole point of attempting a plugin was so I could 'insert' the code I needed directly into the individual pages where it was necessary instead of trying to mess with my child theme's functions.php file. And then I found xyzscript's Insert PHP Code Snippet plugin and it (figuratively) saved my life! As an amateur coder, I get my syntax wrong or don't pay close enough attention to punctuation or use deprecated WP code or make any number of other mistakes. Not once have I ever coded anything that then broke my whole website. The page where the snippet was placed may have 'fatal errors', but I can still access the code snippet on the plugin page and fix it. If you are one who prefers the ease of a page builder but may occasionally need the convenience of adding customizations per page 'on the fly', look no further than this plugin.
4 de junio de 2022
Does what it advertises, no fuss, no fluff, great plugin!
Leer todas las 548 reseñas

Colaboradores y desarrolladores

Este software es de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

Traduce "Insert PHP Code Snippet" a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.3.3

  • Minor bugs fixed
  • Option to send exception report to email

1.3.2

  • Option to enable exception handling
  • Option to preview snippet
  • Database collation issue fixed
  • Minor bugs fixed

1.3.1

  • Notice errors fixed

1.3

  • Snippet selection support in classic editor block of Gutenberg
  • Support for Search Snippet by name
  • Navigation Improvements

1.2.6

  • Support for Bulk Actions(activate,deactivate,delete)

1.2.5

  • Added fix for output buffering issue

1.2.4

  • Removed deprecated widget initializing function

1.2.3

  • Option to enable auto insert of php opening tags added.

1.2.2

  • Automatic detection and correction of php opening and closing tags in snippet
  • Updated nonces and validations
  • Premium version details and comparison added

1.2.1

  • Nonces Added
  • A few bug fixes

1.2

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

1.1

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

1.0

  • First official launch