Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

wp-plugins/code-snippets-extended

Repository files navigation

=== Code Snippets Extended ===
Contributors: aftamat4ik
Donate link: http://aftamat4ik.ru/code_snippets_extended
Tags: code, code snippets, php, css, js, snippets, ads
Requires at least: 3.9
Tested up to: 4.1
Stable tag: 1.3.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Powerful plugin, that allows you to create code snippets & embed it into posts or pages easily.

== Description ==

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.

== Installation ==

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.

== Frequently Asked Questions ==

= I need to use `&lt;?php ?&gt;` tags in my snippet? =
Yes. You must use them to run php code inside snippet.

= Can i use &lt;? ?&gt; 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.

== Screenshots ==

1. 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 =).
2. Here we see Add Snippet Page.
3. We can Test our code now, or save snippet to database.
4. If you press on the `Test Code` button - on top of the page will be shown block with code execution results.
5. On Wordpress editor panel will be added button. This button help you to insert shortcodes inside post content. Watch on the next screen.
6. Pop-up window with lost of all snippets
7. After save article snippet starts work.
== Changelog ==

= 1.0 =
* Traslations added
* Changed js and css files embed mechanism
= 1.0.1 =
* Changed database access to be compatible with multisite wordpress configuration
= 1.3.0 =
* Added megia upload buton into snippet editor
=1.3.1=
*Fixed eval bug
=1.3.2=
*Fully translated to english
== Thanks ==
I express my gratitude to Jonas Dahl. He helped me with a lot of bugs.

Jonas Dahl translated this plugin into Deutche language.