Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Code Snippets Extended

Descripción

Using this plugin, you can create code chunks(or snippets) and use them in posts or pages on your site.

In one snippet you can use different code types: js, php, css, just set required tags.

  • <?php ?> – for php code,
  • <script></script>, – for js code,
  • <style></style> – for stylesheets.

Also you can test snippet code, before save it.
If you want to add your custom language support – write me email. We will translate this plugin together.
Great changes coming soon!

I express my gratitude to Jonas Dahl. He helped me with a lot of bugs.
Jonas Dahl translated this plugin into Deutche language.

Gracias

I express my gratitude to Jonas Dahl. He helped me with a lot of bugs.

Jonas Dahl translated this plugin into Deutche language.

Capturas

  • Main page of Code Snippets Extended tool. Here we see two snippet. We can Change them or Delete. Also On - will enable snippet to work. Off - i think you already know what do this command =).
  • Here we see Add Snippet Page.
  • We can Test our code now, or save snippet to database.
  • If you press on the Test Code button - on top of the page will be shown block with code execution results.
  • On WordPress editor panel will be added button. This button help you to insert shortcodes inside post content. Watch on the next screen.
  • Pop-up window with lost of all snippets
  • After save article snippet starts work.

Instalación

Easy as can be. You can install this plugin from WordPress Admin. Just type into Search field Code Snippets Extended and Enjoy!

Otherwise you can download zip archieve from link on that page and unpack it inside your /wp-content/plugins/ folder. Then just activate it from Admin.

Preguntas frecuentes

Installation Instructions

Easy as can be. You can install this plugin from WordPress Admin. Just type into Search field Code Snippets Extended and Enjoy!

Otherwise you can download zip archieve from link on that page and unpack it inside your /wp-content/plugins/ folder. Then just activate it from Admin.

I need to use `<?php ?>` tags in my snippet?

Yes. You must use them to run php code inside snippet.

Can i use <? ?> tags?

No, sorry.

Please tell me editor commands.
  • Ctrl-F / Cmd-F – Standart search and search by mask.
Can i use snippets on my funcions.php?

Not yet. I working on this.

I have idea!/I have problem

Okay. Just write it to aftamat4ik@gmail.com I will answer you.
Thank you.

Reseñas

19 de enero de 2018
Nice idea of a plugin. Sadly however php code doesn't work. Even the provided examples are not running as the " are all escaped. Too bad 🙁
29 de septiembre de 2017
allows us to add php anywhere using shortcodes. No more messing with functions.php file, making custom page templates or spawning child themes for a bit of custom logic. AMAZING
3 de septiembre de 2016
Very very good! Using a very simple and a good helper!
Leer todas las 9 reseñas

Colaboradores y desarrolladores

«Code Snippets Extended» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Code Snippets Extended» 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.4.5

  • test button fix

1.4.5

  • shortcode non-utf chars and slashes bugfix

1.4.4

  • now you can put shortcodes inside plugin shortcode $content

1.4.3

  • fix for no iconv users

1.4.2

  • non utf8 chars in shortcode bugfix

1.4.1

  • Arguments small fix
  • Add Snippet page markup small fix
  • editor size now is, well … responsive
  • another AddSnippet page bottom fix
  • add word wrap editor option

1.4.0

  • New arguments for snippets
  • More documentation
  • Is eval available check

1.3.92

  • Fixed <textarea> bug and wp_lightbox bug

1.3.2

  • Fully translated to english

1.3.1

  • Fixed eval bug

1.3.0

  • Added media upload buton into snippet editor

1.0.1

  • Changed database access to be compatible with multisite wordpress configuration

1.0

  • Traslations added
  • Changed js and css files embed mechanism