Post Snippets - Version 3.0.17

Version Description

Download this release

Release Info

Developer wpexpertsio
Plugin Icon 128x128 Post Snippets
Version 3.0.17
Comparing to
See all releases

Code changes from version 3.0.16 to 3.0.17

assets/img/ContactSlider.png ADDED
Binary file
assets/img/ProductDisclaimer.png ADDED
Binary file
assets/img/WholesaleForWoocommerce.png ADDED
Binary file
assets/img/myCred.png ADDED
Binary file
lang/post-snippets-es_ES.po CHANGED
@@ -1,129 +1,129 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Post Snippets v1.7\n"
4
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/post-snippets\n"
5
- "POT-Creation-Date: 2009-03-24 09:38+0000\n"
6
- "PO-Revision-Date: 2017-11-30 10:34+0100\n"
7
- "Last-Translator: Melvis Leon <me_leon@hotmail.com>\n"
8
- "Language-Team: MLL Designs <me_leon@hotmail.com>\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
- "X-Poedit-SourceCharset: utf-8\n"
14
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
15
- "X-Poedit-Basepath: ..\n"
16
- "X-Textdomain-Support: yes\n"
17
- "Language: es_ES\n"
18
- "X-Generator: Poedit 2.0.4\n"
19
- "X-Poedit-SearchPath-0: .\n"
20
-
21
- # @ post-snippets
22
- #: post-snippets.php:70
23
- msgid "Post Snippets requires WordPress version 2.7 or later!"
24
- msgstr "Post Snippets requiere WordPress versi&oacute;n 2.7 o posterior!"
25
-
26
- # @ post-snippets
27
- #: post-snippets.php:179
28
- msgid "A snippet named Untitled has been added."
29
- msgstr "Un Snippet llamado Sin t&iacute;tulo ha sido agregado."
30
-
31
- # @ post-snippets
32
- #: post-snippets.php:192
33
- msgid "Snippets have been updated."
34
- msgstr "Los Snippets han sido actualizados."
35
-
36
- # @ post-snippets
37
- #: post-snippets.php:208
38
- msgid "Selected snippets have been deleted."
39
- msgstr "Los snippets han sido eliminados."
40
-
41
- # @ post-snippets
42
- #: post-snippets.php:220
43
- msgid "Add New Snippet"
44
- msgstr "Agregar nuevo Snippet"
45
-
46
- # @ post-snippets
47
- #: post-snippets.php:221
48
- msgid "Delete Selected"
49
- msgstr "Eliminar seleccionados"
50
-
51
- # @ post-snippets
52
- #: post-snippets.php:230 post-snippets.php:239
53
- msgid "Title"
54
- msgstr "T&iacute;tulo"
55
-
56
- # @ post-snippets
57
- #: post-snippets.php:231 post-snippets.php:240
58
- msgid "Variables"
59
- msgstr "Variables"
60
-
61
- # @ post-snippets
62
- #: post-snippets.php:232 post-snippets.php:241
63
- msgid "Snippet"
64
- msgstr "Snippet"
65
-
66
- # @ post-snippets
67
- #: post-snippets.php:263
68
- msgid "Update Snippets"
69
- msgstr "Actualizar Snippets"
70
-
71
- # @ post-snippets
72
- #: post-snippets.php:268
73
- msgid "Help"
74
- msgstr "Ayuda"
75
-
76
- # @ post-snippets
77
- #: post-snippets.php:270
78
- msgid "<strong>Title</strong><br/>Give the snippet a title that helps you identify it in the post editor."
79
- msgstr "<strong>Titulo</strong><br/>Nombrar al snippet con un t&iacute;tulo que le ayude a identificarlo en el editor de entradas."
80
-
81
- # @ post-snippets
82
- #: post-snippets.php:272
83
- msgid "<strong>Variables</strong><br/>A comma separated list of custom variables you can reference in your snippet.<br/><br/>Example:<br/>url,name"
84
- msgstr "<strong>Variables</strong><br/>Puedes hacer referencia a una lista separada por comas de variables personalizadas en tu snippet.<br/><br/>Ejemplo:<br/>url, nombre"
85
-
86
- # @ post-snippets
87
- #: post-snippets.php:274
88
- msgid "<strong>Snippet</strong><br/>This is the block of text or HTML to insert in the post when you select the snippet from the insert button in the TinyMCE panel in the post editor. If you have entered predefined variables you can reference them from the snippet by enclosing them in {} brackets.<br/><br/>Example:<br/>To reference the variables in the example above, you would enter {url} and {name}.<br/><br/>So if you enter this snippet:<br/><i>This is the website of &lt;a href=\"{url}\"&gt;{name}&lt;/a&gt;</i><br/>You will get the option to replace url and name on insert if they are defined as variables."
89
- msgstr "<strong>Snippet</strong><br/>Este es el bloque de texto o HTML a insertar en la entrada al seleccionar el snippet del bot&oacute;n de insertar en el TinyMCE en el editor de entradas. Si ha introducido las variables predefinidas usted puede referenciarlas desde el snippet al encerrarlas entre llaves {}.<br/> Ejemplo: <br/>Para hacer referencia a las variables en el ejemplo anterior, debe escribir {url} y {nombre}.<br/>As&iacute; que si digitas este snippet: <br/> <i> Esta es la p&aacute;gina web de &lt;a href=\"{url}\"&gt;{nombre}&lt;/a&gt;</i><br/> </ i> <br/>Usted recibir&aacute; la opci&oacute;n de reemplazar url y el nombre cuando se inserta, si se definen como variables."
90
-
91
- #: post-snippets.php:281
92
- msgid "About Post Snippets"
93
- msgstr "Acerca de Post Snippets"
94
-
95
- # @ post-snippets
96
- #: tinymce/window.php:9
97
- msgid "You are not allowed to be here"
98
- msgstr "No tiene permitido estar aqu&iacute;"
99
-
100
- # @ post-snippets
101
- #: tinymce/window.php:109
102
- msgid "Cancel"
103
- msgstr "Cancelar"
104
-
105
- # @ post-snippets
106
- #: tinymce/window.php:113
107
- msgid "Insert"
108
- msgstr "Insertar"
109
-
110
- # @ post-snippets
111
- #. Plugin Name of an extension
112
- msgid "Post Snippets"
113
- msgstr "Post Snippets"
114
-
115
- #. Plugin URI of an extension
116
- msgid "http://coding.cglounge.com/wordpress-plugins/post-snippets/"
117
- msgstr "https://www.postsnippets.com/"
118
-
119
- #. Description of an extension
120
- msgid "Stores snippets of HTML code or reoccurring text that you often use in your posts. You can use predefined variables to replace parts of the snippet on insert. All snippets are available in the post editor with a TinyMCE button, Quicktags or Shortcodes."
121
- msgstr "Almacena de snippets(fragmentos) de código HTML o texto recurrente para usarlo en tus entradas. Puedes utilizar las variables predefinidas para reemplazar partes del snippet(fragmento) en inserción. Todos los snippets(fragmentos) están disponibles en el editor de entradas con un botón de TinyMCE, Quicktags o Shortcodes."
122
-
123
- #. Author of an extension
124
- msgid "Johan Steen"
125
- msgstr "GreenTreeLabs"
126
-
127
- #. Author URI of an extension
128
- msgid "http://coding.cglounge.com/"
129
- msgstr "https://www.postsnippets.com/"
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Post Snippets v1.7\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/post-snippets\n"
5
+ "POT-Creation-Date: 2009-03-24 09:38+0000\n"
6
+ "PO-Revision-Date: 2017-11-30 10:34+0100\n"
7
+ "Last-Translator: Melvis Leon <me_leon@hotmail.com>\n"
8
+ "Language-Team: MLL Designs <me_leon@hotmail.com>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-SourceCharset: utf-8\n"
14
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
15
+ "X-Poedit-Basepath: ..\n"
16
+ "X-Textdomain-Support: yes\n"
17
+ "Language: es_ES\n"
18
+ "X-Generator: Poedit 2.0.4\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ # @ post-snippets
22
+ #: post-snippets.php:70
23
+ msgid "Post Snippets requires WordPress version 2.7 or later!"
24
+ msgstr "Post Snippets requiere WordPress versi&oacute;n 2.7 o posterior!"
25
+
26
+ # @ post-snippets
27
+ #: post-snippets.php:179
28
+ msgid "A snippet named Untitled has been added."
29
+ msgstr "Un Snippet llamado Sin t&iacute;tulo ha sido agregado."
30
+
31
+ # @ post-snippets
32
+ #: post-snippets.php:192
33
+ msgid "Snippets have been updated."
34
+ msgstr "Los Snippets han sido actualizados."
35
+
36
+ # @ post-snippets
37
+ #: post-snippets.php:208
38
+ msgid "Selected snippets have been deleted."
39
+ msgstr "Los snippets han sido eliminados."
40
+
41
+ # @ post-snippets
42
+ #: post-snippets.php:220
43
+ msgid "Add New Snippet"
44
+ msgstr "Agregar nuevo Snippet"
45
+
46
+ # @ post-snippets
47
+ #: post-snippets.php:221
48
+ msgid "Delete Selected"
49
+ msgstr "Eliminar seleccionados"
50
+
51
+ # @ post-snippets
52
+ #: post-snippets.php:230 post-snippets.php:239
53
+ msgid "Title"
54
+ msgstr "T&iacute;tulo"
55
+
56
+ # @ post-snippets
57
+ #: post-snippets.php:231 post-snippets.php:240
58
+ msgid "Variables"
59
+ msgstr "Variables"
60
+
61
+ # @ post-snippets
62
+ #: post-snippets.php:232 post-snippets.php:241
63
+ msgid "Snippet"
64
+ msgstr "Snippet"
65
+
66
+ # @ post-snippets
67
+ #: post-snippets.php:263
68
+ msgid "Update Snippets"
69
+ msgstr "Actualizar Snippets"
70
+
71
+ # @ post-snippets
72
+ #: post-snippets.php:268
73
+ msgid "Help"
74
+ msgstr "Ayuda"
75
+
76
+ # @ post-snippets
77
+ #: post-snippets.php:270
78
+ msgid "<strong>Title</strong><br/>Give the snippet a title that helps you identify it in the post editor."
79
+ msgstr "<strong>Titulo</strong><br/>Nombrar al snippet con un t&iacute;tulo que le ayude a identificarlo en el editor de entradas."
80
+
81
+ # @ post-snippets
82
+ #: post-snippets.php:272
83
+ msgid "<strong>Variables</strong><br/>A comma separated list of custom variables you can reference in your snippet.<br/><br/>Example:<br/>url,name"
84
+ msgstr "<strong>Variables</strong><br/>Puedes hacer referencia a una lista separada por comas de variables personalizadas en tu snippet.<br/><br/>Ejemplo:<br/>url, nombre"
85
+
86
+ # @ post-snippets
87
+ #: post-snippets.php:274
88
+ msgid "<strong>Snippet</strong><br/>This is the block of text or HTML to insert in the post when you select the snippet from the insert button in the TinyMCE panel in the post editor. If you have entered predefined variables you can reference them from the snippet by enclosing them in {} brackets.<br/><br/>Example:<br/>To reference the variables in the example above, you would enter {url} and {name}.<br/><br/>So if you enter this snippet:<br/><i>This is the website of &lt;a href=\"{url}\"&gt;{name}&lt;/a&gt;</i><br/>You will get the option to replace url and name on insert if they are defined as variables."
89
+ msgstr "<strong>Snippet</strong><br/>Este es el bloque de texto o HTML a insertar en la entrada al seleccionar el snippet del bot&oacute;n de insertar en el TinyMCE en el editor de entradas. Si ha introducido las variables predefinidas usted puede referenciarlas desde el snippet al encerrarlas entre llaves {}.<br/> Ejemplo: <br/>Para hacer referencia a las variables en el ejemplo anterior, debe escribir {url} y {nombre}.<br/>As&iacute; que si digitas este snippet: <br/> <i> Esta es la p&aacute;gina web de &lt;a href=\"{url}\"&gt;{nombre}&lt;/a&gt;</i><br/> </ i> <br/>Usted recibir&aacute; la opci&oacute;n de reemplazar url y el nombre cuando se inserta, si se definen como variables."
90
+
91
+ #: post-snippets.php:281
92
+ msgid "About Post Snippets"
93
+ msgstr "Acerca de Post Snippets"
94
+
95
+ # @ post-snippets
96
+ #: tinymce/window.php:9
97
+ msgid "You are not allowed to be here"
98
+ msgstr "No tiene permitido estar aqu&iacute;"
99
+
100
+ # @ post-snippets
101
+ #: tinymce/window.php:109
102
+ msgid "Cancel"
103
+ msgstr "Cancelar"
104
+
105
+ # @ post-snippets
106
+ #: tinymce/window.php:113
107
+ msgid "Insert"
108
+ msgstr "Insertar"
109
+
110
+ # @ post-snippets
111
+ #. Plugin Name of an extension
112
+ msgid "Post Snippets"
113
+ msgstr "Post Snippets"
114
+
115
+ #. Plugin URI of an extension
116
+ msgid "http://coding.cglounge.com/wordpress-plugins/post-snippets/"
117
+ msgstr "https://www.postsnippets.com/"
118
+
119
+ #. Description of an extension
120
+ msgid "Stores snippets of HTML code or reoccurring text that you often use in your posts. You can use predefined variables to replace parts of the snippet on insert. All snippets are available in the post editor with a TinyMCE button, Quicktags or Shortcodes."
121
+ msgstr "Almacena de snippets(fragmentos) de código HTML o texto recurrente para usarlo en tus entradas. Puedes utilizar las variables predefinidas para reemplazar partes del snippet(fragmento) en inserción. Todos los snippets(fragmentos) están disponibles en el editor de entradas con un botón de TinyMCE, Quicktags o Shortcodes."
122
+
123
+ #. Author of an extension
124
+ msgid "Johan Steen"
125
+ msgstr "GreenTreeLabs"
126
+
127
+ #. Author URI of an extension
128
+ msgid "http://coding.cglounge.com/"
129
+ msgstr "https://www.postsnippets.com/"
lang/post-snippets-fr_FR.po CHANGED
@@ -1,136 +1,136 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Post Snippets v1.4.9\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: 2009-09-03 09:32+0200\n"
7
- "Last-Translator: Oyabi <mousaka666@hotmail.fr>\n"
8
- "Language-Team: \n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
- "X-Poedit-Language: French\n"
14
- "X-Poedit-Country: FRANCE\n"
15
- "X-Poedit-SourceCharset: utf-8\n"
16
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
- "X-Poedit-Basepath: ../\n"
18
- "X-Poedit-Bookmarks: \n"
19
- "X-Poedit-SearchPath-0: .\n"
20
- "X-Textdomain-Support: yes"
21
-
22
- #: post-snippets.php:71
23
- #@ post-snippets
24
- msgid "Post Snippets requires WordPress version 2.7 or later!"
25
- msgstr "Post Snippets requiert WordPress version 2.7 ou supérieur!"
26
-
27
- #: post-snippets.php:237
28
- #@ post-snippets
29
- msgid "A snippet named Untitled has been added."
30
- msgstr "Un Snippet Sans Titre a été ajouté."
31
-
32
- #: post-snippets.php:262
33
- #@ post-snippets
34
- msgid "Snippets have been updated."
35
- msgstr "Les Snippets ont été mis à jour."
36
-
37
- #: post-snippets.php:278
38
- #@ post-snippets
39
- msgid "Selected snippets have been deleted."
40
- msgstr "Les Snippets sélectionnés ont été supprimés."
41
-
42
- #: post-snippets.php:290
43
- #@ post-snippets
44
- msgid "Add New Snippet"
45
- msgstr "Ajouter un nouveau Snippet"
46
-
47
- #: post-snippets.php:291
48
- #@ post-snippets
49
- msgid "Delete Selected"
50
- msgstr "Supprimer la sélection"
51
-
52
- #: post-snippets.php:300
53
- #: post-snippets.php:311
54
- #@ post-snippets
55
- msgid "Title"
56
- msgstr "Titre"
57
-
58
- #: post-snippets.php:301
59
- #: post-snippets.php:312
60
- #@ post-snippets
61
- msgid "Variables"
62
- msgstr "Variables"
63
-
64
- #: post-snippets.php:302
65
- #: post-snippets.php:313
66
- #@ post-snippets
67
- msgid "Snippet"
68
- msgstr "Snippet"
69
-
70
- #: post-snippets.php:303
71
- #: post-snippets.php:314
72
- #@ post-snippets
73
- msgid "SC"
74
- msgstr "SC"
75
-
76
- #: post-snippets.php:304
77
- #: post-snippets.php:315
78
- #@ post-snippets
79
- msgid "QT"
80
- msgstr "QT"
81
-
82
- #: post-snippets.php:339
83
- #@ post-snippets
84
- msgid "Update Snippets"
85
- msgstr "Mise à jour des Snippets"
86
-
87
- #: post-snippets.php:344
88
- #@ post-snippets
89
- msgid "Help"
90
- msgstr "Aide"
91
-
92
- #: post-snippets.php:346
93
- #@ post-snippets
94
- msgid "<strong>Title</strong><br/>Give the snippet a title that helps you identify it in the post editor."
95
- msgstr "<strong>Titre</strong> <br/> Donner au Snippet un titre qui vous permet de l'identifier dans l'éditeur de messages."
96
-
97
- #: post-snippets.php:348
98
- #@ post-snippets
99
- msgid "<strong>Variables</strong><br/>A comma separated list of custom variables you can reference in your snippet.<br/><br/>Example:<br/>url,name"
100
- msgstr "<strong>Variables</strong> <br/> Une liste de variables personnalisées séparée par des virgules que vous pouvez inclure dans votre Snippet. <br/><br/> Exemple: <br/> url, name"
101
-
102
- #: post-snippets.php:350
103
- #@ post-snippets
104
- msgid "<strong>Snippet</strong><br/>This is the block of text or HTML to insert in the post when you select the snippet from the insert button in the TinyMCE panel in the post editor. If you have entered predefined variables you can reference them from the snippet by enclosing them in {} brackets.<br/><br/>Example:<br/>To reference the variables in the example above, you would enter {url} and {name}.<br/><br/>So if you enter this snippet:<br/><i>This is the website of &lt;a href=\"{url}\"&gt;{name}&lt;/a&gt;</i><br/>You will get the option to replace url and name on insert if they are defined as variables."
105
- msgstr "<strong>Snippet</strong><br/>C'est le bloc de texte ou HTML à insérer dans l'article lorsque vous sélectionnez l'extrait à partir du bouton insérer dans le panneau TinyMCE de l'éditeur de pages. Si vous avez entré les variables prédéfinies, vous pouvez les inclure dans l'extrait en les entourant de {} crochets. <br/> Exemple: <br/> Pour inclure des variables dans l'exemple ci-dessus, vous devez entrer {url} et {name}. <br/> Donc, si vous entrez le code suivant: <br/> <i> Ceci est le site de &lt;a href=\"{url}\"&gt;{name}&lt;/a&gt;</i><br/> </ i> <br/> Vous avez la possibilité de remplacer les URL et le nom s'ils sont définis comme des variables."
106
-
107
- #: post-snippets.php:352
108
- #@ post-snippets
109
- msgid "<strong>SC</strong><br/>Treats the snippet as a shortcode. The name for the shortcode is the same as the title of the snippet (spaces not allowed) and will be used on insert."
110
- msgstr "<strong>SC</strong> <br/> Traite l'extrait comme un shortcode. Le nom du shortcode est le même que le titre de l'extrait (espaces non autorisés) et sera utilisé avec insérer."
111
-
112
- #: post-snippets.php:354
113
- #@ post-snippets
114
- msgid "<strong>QT</strong><br/>Enables the snippet to be available as a quicktag in the HTML editor."
115
- msgstr "<strong>QT</strong><br/>Permet au snippet d'être disponible comme un quicktag dans le l'éditeur HTML."
116
-
117
- #: post-snippets.php:356
118
- #@ post-snippets
119
- msgid "<strong>About Post Snippets</strong><br/>Visit my <a href=\"http://coding.cglounge.com/wordpress-plugins/post-snippets/\">Post Snippets</a> page for additional information."
120
- msgstr "<strong>A propos de Post Snippets</strong> <br/> Visitez la page de <a href=\"http://coding.cglounge.com/wordpress-plugins/post-snippets/\">Post Snippets</a> pour plus d'informations."
121
-
122
- #: tinymce/window.php:16
123
- #@ post-snippets
124
- msgid "You are not allowed to be here"
125
- msgstr "Vous n'êtes pas autorisé à être ici"
126
-
127
- #: tinymce/window.php:148
128
- #@ post-snippets
129
- msgid "Cancel"
130
- msgstr "Annuler"
131
-
132
- #: tinymce/window.php:152
133
- #@ post-snippets
134
- msgid "Insert"
135
- msgstr "Insérer"
136
-
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Post Snippets v1.4.9\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: 2009-09-03 09:32+0200\n"
7
+ "Last-Translator: Oyabi <mousaka666@hotmail.fr>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
13
+ "X-Poedit-Language: French\n"
14
+ "X-Poedit-Country: FRANCE\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
17
+ "X-Poedit-Basepath: ../\n"
18
+ "X-Poedit-Bookmarks: \n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+ "X-Textdomain-Support: yes"
21
+
22
+ #: post-snippets.php:71
23
+ #@ post-snippets
24
+ msgid "Post Snippets requires WordPress version 2.7 or later!"
25
+ msgstr "Post Snippets requiert WordPress version 2.7 ou supérieur!"
26
+
27
+ #: post-snippets.php:237
28
+ #@ post-snippets
29
+ msgid "A snippet named Untitled has been added."
30
+ msgstr "Un Snippet Sans Titre a été ajouté."
31
+
32
+ #: post-snippets.php:262
33
+ #@ post-snippets
34
+ msgid "Snippets have been updated."
35
+ msgstr "Les Snippets ont été mis à jour."
36
+
37
+ #: post-snippets.php:278
38
+ #@ post-snippets
39
+ msgid "Selected snippets have been deleted."
40
+ msgstr "Les Snippets sélectionnés ont été supprimés."
41
+
42
+ #: post-snippets.php:290
43
+ #@ post-snippets
44
+ msgid "Add New Snippet"
45
+ msgstr "Ajouter un nouveau Snippet"
46
+
47
+ #: post-snippets.php:291
48
+ #@ post-snippets
49
+ msgid "Delete Selected"
50
+ msgstr "Supprimer la sélection"
51
+
52
+ #: post-snippets.php:300
53
+ #: post-snippets.php:311
54
+ #@ post-snippets
55
+ msgid "Title"
56
+ msgstr "Titre"
57
+
58
+ #: post-snippets.php:301
59
+ #: post-snippets.php:312
60
+ #@ post-snippets
61
+ msgid "Variables"
62
+ msgstr "Variables"
63
+
64
+ #: post-snippets.php:302
65
+ #: post-snippets.php:313
66
+ #@ post-snippets
67
+ msgid "Snippet"
68
+ msgstr "Snippet"
69
+
70
+ #: post-snippets.php:303
71
+ #: post-snippets.php:314
72
+ #@ post-snippets
73
+ msgid "SC"
74
+ msgstr "SC"
75
+
76
+ #: post-snippets.php:304
77
+ #: post-snippets.php:315
78
+ #@ post-snippets
79
+ msgid "QT"
80
+ msgstr "QT"
81
+
82
+ #: post-snippets.php:339
83
+ #@ post-snippets
84
+ msgid "Update Snippets"
85
+ msgstr "Mise à jour des Snippets"
86
+
87
+ #: post-snippets.php:344
88
+ #@ post-snippets
89
+ msgid "Help"
90
+ msgstr "Aide"
91
+
92
+ #: post-snippets.php:346
93
+ #@ post-snippets
94
+ msgid "<strong>Title</strong><br/>Give the snippet a title that helps you identify it in the post editor."
95
+ msgstr "<strong>Titre</strong> <br/> Donner au Snippet un titre qui vous permet de l'identifier dans l'éditeur de messages."
96
+
97
+ #: post-snippets.php:348
98
+ #@ post-snippets
99
+ msgid "<strong>Variables</strong><br/>A comma separated list of custom variables you can reference in your snippet.<br/><br/>Example:<br/>url,name"
100
+ msgstr "<strong>Variables</strong> <br/> Une liste de variables personnalisées séparée par des virgules que vous pouvez inclure dans votre Snippet. <br/><br/> Exemple: <br/> url, name"
101
+
102
+ #: post-snippets.php:350
103
+ #@ post-snippets
104
+ msgid "<strong>Snippet</strong><br/>This is the block of text or HTML to insert in the post when you select the snippet from the insert button in the TinyMCE panel in the post editor. If you have entered predefined variables you can reference them from the snippet by enclosing them in {} brackets.<br/><br/>Example:<br/>To reference the variables in the example above, you would enter {url} and {name}.<br/><br/>So if you enter this snippet:<br/><i>This is the website of &lt;a href=\"{url}\"&gt;{name}&lt;/a&gt;</i><br/>You will get the option to replace url and name on insert if they are defined as variables."
105
+ msgstr "<strong>Snippet</strong><br/>C'est le bloc de texte ou HTML à insérer dans l'article lorsque vous sélectionnez l'extrait à partir du bouton insérer dans le panneau TinyMCE de l'éditeur de pages. Si vous avez entré les variables prédéfinies, vous pouvez les inclure dans l'extrait en les entourant de {} crochets. <br/> Exemple: <br/> Pour inclure des variables dans l'exemple ci-dessus, vous devez entrer {url} et {name}. <br/> Donc, si vous entrez le code suivant: <br/> <i> Ceci est le site de &lt;a href=\"{url}\"&gt;{name}&lt;/a&gt;</i><br/> </ i> <br/> Vous avez la possibilité de remplacer les URL et le nom s'ils sont définis comme des variables."
106
+
107
+ #: post-snippets.php:352
108
+ #@ post-snippets
109
+ msgid "<strong>SC</strong><br/>Treats the snippet as a shortcode. The name for the shortcode is the same as the title of the snippet (spaces not allowed) and will be used on insert."
110
+ msgstr "<strong>SC</strong> <br/> Traite l'extrait comme un shortcode. Le nom du shortcode est le même que le titre de l'extrait (espaces non autorisés) et sera utilisé avec insérer."
111
+
112
+ #: post-snippets.php:354
113
+ #@ post-snippets
114
+ msgid "<strong>QT</strong><br/>Enables the snippet to be available as a quicktag in the HTML editor."
115
+ msgstr "<strong>QT</strong><br/>Permet au snippet d'être disponible comme un quicktag dans le l'éditeur HTML."
116
+
117
+ #: post-snippets.php:356
118
+ #@ post-snippets
119
+ msgid "<strong>About Post Snippets</strong><br/>Visit my <a href=\"http://coding.cglounge.com/wordpress-plugins/post-snippets/\">Post Snippets</a> page for additional information."
120
+ msgstr "<strong>A propos de Post Snippets</strong> <br/> Visitez la page de <a href=\"http://coding.cglounge.com/wordpress-plugins/post-snippets/\">Post Snippets</a> pour plus d'informations."
121
+
122
+ #: tinymce/window.php:16
123
+ #@ post-snippets
124
+ msgid "You are not allowed to be here"
125
+ msgstr "Vous n'êtes pas autorisé à être ici"
126
+
127
+ #: tinymce/window.php:148
128
+ #@ post-snippets
129
+ msgid "Cancel"
130
+ msgstr "Annuler"
131
+
132
+ #: tinymce/window.php:152
133
+ #@ post-snippets
134
+ msgid "Insert"
135
+ msgstr "Insérer"
136
+
post-snippets.php CHANGED
@@ -4,16 +4,16 @@
4
  * Post Snippets
5
  *
6
  * @package PS
7
- * @author wpexpertsio <support@wpexperts.io>
8
  * @license GPL-2.0+
9
- * @link http://www.wpexperts.io/
10
  *
11
  * @wordpress-plugin
12
  * Plugin Name: Post Snippets
13
  * Plugin URI: https://www.postsnippets.com
14
  * Description: Create a library of reusable content and insert it into your posts and pages. Navigate to "Settings > Post Snippets" to get started.
15
- * Version: 3.0.16
16
- * Author: wpexpertsio
17
  * Author URI: https://www.postsnippets.com
18
  * License: GPL-2.0+
19
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
@@ -94,7 +94,7 @@ if ( !function_exists( 'postsnippets_fs' ) ) {
94
  define( 'PS_MAIN_FILE', basename( __FILE__ ) );
95
  }
96
  if ( !defined( 'PS_VERSION' ) ) {
97
- define( 'PS_VERSION', '3.0.16' );
98
  }
99
  if ( !defined( 'PS_MAIN_FILE_PATH' ) ) {
100
  define( 'PS_MAIN_FILE_PATH', __FILE__ );
4
  * Post Snippets
5
  *
6
  * @package PS
7
+ * @author Postsnippets <support@wpexperts.io>
8
  * @license GPL-2.0+
9
+ * @link https://www.postsnippets.com
10
  *
11
  * @wordpress-plugin
12
  * Plugin Name: Post Snippets
13
  * Plugin URI: https://www.postsnippets.com
14
  * Description: Create a library of reusable content and insert it into your posts and pages. Navigate to "Settings > Post Snippets" to get started.
15
+ * Version: 3.0.17
16
+ * Author: Postsnippets
17
  * Author URI: https://www.postsnippets.com
18
  * License: GPL-2.0+
19
  * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
94
  define( 'PS_MAIN_FILE', basename( __FILE__ ) );
95
  }
96
  if ( !defined( 'PS_VERSION' ) ) {
97
+ define( 'PS_VERSION', '3.0.17' );
98
  }
99
  if ( !defined( 'PS_MAIN_FILE_PATH' ) ) {
100
  define( 'PS_MAIN_FILE_PATH', __FILE__ );
readme.txt CHANGED
@@ -2,8 +2,9 @@
2
  Contributors: wpexpertsio
3
  Tags: custom snippet, custom shortcode, snippet, snippets, shortcode, shortcodes, block, blocks, html
4
  Requires at least: 3.3
5
- Tested up to: 5.3.2
6
  Requires PHP: 5.3
 
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -27,6 +28,16 @@ This plugin lets you build a library with snippets of HTML, PHP code or reoccurr
27
  * **Documentation** Full documentation is available directly from the help panel in the plugin (top right in WordPress).
28
  * **Uninstall** If you delete the plugin from your plugins panel it cleans up all data it has created in the WordPress database.
29
 
 
 
 
 
 
 
 
 
 
 
30
  = Related Links =
31
 
32
  * [Website](https://www.postsnippets.com/)
@@ -96,6 +107,11 @@ your clients to be able to use PHP code in a post snippet.
96
 
97
  == Changelog ==
98
 
 
 
 
 
 
99
  = Version 3.0.16 - 16 Mar 2020 =
100
 
101
  * Fixed rename snippet
2
  Contributors: wpexpertsio
3
  Tags: custom snippet, custom shortcode, snippet, snippets, shortcode, shortcodes, block, blocks, html
4
  Requires at least: 3.3
5
+ Tested up to: 5.4
6
  Requires PHP: 5.3
7
+ Stable tag: 3.0.17
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
28
  * **Documentation** Full documentation is available directly from the help panel in the plugin (top right in WordPress).
29
  * **Uninstall** If you delete the plugin from your plugins panel it cleans up all data it has created in the WordPress database.
30
 
31
+ = Extend the features with Post Snippet Premium version: =
32
+
33
+ * Upload and download your snippets from snippet cloud.
34
+ * Duplicate snippets.
35
+ * Single/multi select delete option.
36
+ * Rich text editor to customize your snippet.
37
+ * Change snippet order.
38
+
39
+ To download our pro addon please [visit our Website](https://www.postsnippets.com/)
40
+
41
  = Related Links =
42
 
43
  * [Website](https://www.postsnippets.com/)
107
 
108
  == Changelog ==
109
 
110
+ = Version 3.0.17 - 8 Apr 2020 =
111
+
112
+ * Fixed On first activation, warning usort() expects parameter 1 to be array.
113
+ * Updated News page and Author Name/URL
114
+
115
  = Version 3.0.16 - 16 Mar 2020 =
116
 
117
  * Fixed rename snippet
src/PostSnippets/Admin.php CHANGED
@@ -60,10 +60,12 @@ class Admin
60
  "vars" => $snippet["vars"],
61
  "shortcode" => $snippet["shortcode"] == 1
62
  );
63
- }*/
64
- usort( $snippets, function ( $a, $b ) {
65
- return strcasecmp( $a["title"], $b["title"] );
66
- } );
 
 
67
  wp_localize_script( 'jquery', 'post_snippets_s', $snippets );
68
  }
69
 
@@ -594,15 +596,25 @@ class Admin
594
  public function newsPage()
595
  {
596
  $plugins = array( array(
597
- "name" => "Gallery Effects",
598
- "description" => "Add gorgeous hover effects to your native galleries. No shortcode required!",
599
- "image" => "gallery.jpg",
600
- "url" => "https://wp-gallery-effects.com/?utm_source=wordpress&utm_medium=banner&utm_campaign=postsnippets",
 
 
 
 
 
 
 
 
 
 
601
  ), array(
602
- "name" => "Simple Author Box",
603
- "description" => "Add bio and social networks to the author box of your posts!",
604
- "image" => "simple-author-box.jpg",
605
- "url" => "https://wordpress.org/plugins/simple-author-box/",
606
  ) );
607
  include PS_PATH . "/views/admin_news.php";
608
  }
60
  "vars" => $snippet["vars"],
61
  "shortcode" => $snippet["shortcode"] == 1
62
  );
63
+ }*/
64
+ if(isset($snippets) && !empty($snippets) && is_array($snippets)) {
65
+ usort( $snippets, function ( $a, $b ) {
66
+ return strcasecmp( $a["title"], $b["title"] );
67
+ } );
68
+ }
69
  wp_localize_script( 'jquery', 'post_snippets_s', $snippets );
70
  }
71
 
596
  public function newsPage()
597
  {
598
  $plugins = array( array(
599
+ "name" => "myCred",
600
+ "description" => "myCred makes it simple to create a loyalty program or gamify your website so that you can increase the average customer value with less marketing effort.",
601
+ "image" => "myCred.png",
602
+ "url" => "https://wordpress.org/plugins/mycred",
603
+ ), array(
604
+ "name" => "WP Contact Slider",
605
+ "description" => "WP contact slider is simple contact slider to display contactform7, Gravity forms, Wp Forms, Caldera forms, Constant Contact Forms or display random text or HTML.",
606
+ "image" => "ContactSlider.png",
607
+ "url" => "https://wordpress.org/plugins/wp-contact-slider/",
608
+ ), array(
609
+ "name" => "Wholesale For WooCommerce",
610
+ "description" => "Sign up wholesale customers and display wholesale prices based on multiple wholesale user roles on your existing WooCommerce store",
611
+ "image" => "WholesaleForWoocommerce.png",
612
+ "url" => "https://woocommerce.com/products/wholesale-for-woocommerce/",
613
  ), array(
614
+ "name" => "WooCommerce Product Disclaimer",
615
+ "description" => "Woocommerce extension where you can set some products to accept terms and conditions before adding product to cart. ",
616
+ "image" => "ProductDisclaimer.png",
617
+ "url" => "https://wordpress.org/plugins/woo-product-disclaimer/",
618
  ) );
619
  include PS_PATH . "/views/admin_news.php";
620
  }
views/admin_news.php CHANGED
@@ -1,489 +1,6 @@
1
- <style>
2
- .sab-changes-box {
3
- border: 1px solid #ccc;
4
- background: #fafafa;
5
- padding:10px;
6
- max-height:100px;
7
- overflow: auto;
8
- max-width: 600px;
9
- }
10
- </style>
11
- <div class="sab-content-page">
12
 
13
- <h1>News</h1>
14
- <h2>Simple Author Box latest changes:</h2>
15
 
16
- <div class="sab-changes-box">
17
- <pre>= Version 3.0.16 - 16 Mar 2020 =
18
-
19
- * Fixed rename snippet
20
-
21
- = Version 3.0.15 - 10 Mar 2020 =
22
-
23
- * Gutenberg block
24
- * Save snippets through ajax calls
25
- * News page with changelog
26
- * Post Snippets menu
27
-
28
- = Version 3.0.14 - 19 Nov 2019 =
29
-
30
- * Fixed issue with attributes containing hyphens/dashes
31
-
32
- = Version 3.0.13 - 12 Nov 2019 =
33
-
34
- * Updated Freemius SDK
35
-
36
- = Version 3.0.12 - 28 Aug 2019 =
37
-
38
- * Updated Freemius SDK
39
-
40
- = Version 3.0.11 - 2 Lug 2019 =
41
-
42
- * Added language pack for TinyMCE
43
-
44
- = Version 3.0.10 - 2 Lug 2019 =
45
-
46
- * Updated Freemius SDK
47
- * Added compatibility with PHP 7.3
48
-
49
- = Version 3.0.9 - 1 Lug 2019 =
50
-
51
- * Updated Freemius SDK (Premium only)
52
-
53
- = Version 3.0.8 - 8 Apr 2019 =
54
-
55
- * Added multi-site snippets sync feature (Premium only)
56
-
57
- = Version 3.0.7 - 27 Feb 2019 =
58
-
59
- * Removed unused function
60
-
61
- = Version 3.0.6 - 27 Feb 2019 =
62
-
63
- * Security Fix
64
- * Rich Text Format (PRO version only)
65
-
66
- = Version 3.0.5 - 13 May 2018 =
67
-
68
- * Fix conflict with SiteOrigin Page Builder (Editor), increase z-index so Post Snippets Insert box opens on top of the editor
69
- * Only show submenu when Post Snippets is opened, not on all Settings pages, and remove Support Forum and Contact submenu items
70
- * Improve stability by updating Post Snippets to string-based menu slug
71
- * Add instructions and optimize UI for new users/new sites (with slightly pulsating "Add New Snippet" button)
72
- * Automatically disable Post Snippets if premium version is activated
73
- * Make 'Post Snippets' header title in plugin translatable
74
-
75
- = Version 3.0.4 - 20 Feb 2018 =
76
-
77
- * Add "Support forum" link to support forum
78
- * Add "Contact Us" link with contact form
79
- * Add "Account" and "Upgrade" link for Pro version
80
- * Updated Freemius SDK to 1.2.4
81
-
82
- = Version 3.0.3 - 15 Feb 2018 =
83
-
84
- * FIX:
85
- * Check for unique titles/shortcodes when creating new snippets, prevent duplicates
86
- * Improper slashes parsing, some users woudl see multiple clashes in shortcodes/PHP code, causing snippets to not render correctly
87
- * Prevent some editors (TinyMCE Advanced) from stacking above the Post Snippets dialog, add zindex to .ui-dialog
88
-
89
- = Version 3.0.2 - 13 Jan 2018 =
90
-
91
- * Fixed a PHP error by changing a new style array syntax to the version that also works in PHP 5.3 (this: array())
92
-
93
- = Version 3.0.0 - 13 Jan 2018 =
94
-
95
- * NOTES:
96
- * Reviewed close to 30 issues and either closed, fixed or registered them to be fixed in the future, see https://github.com/GreenTreeLabs/post-snippets/issues/68
97
-
98
- * NEW:
99
- * A nice new User Interface, a good starting point for more improvements in the future. Switched from old tables to div's and css
100
- * The new UI supports updating the snippet name/shortcode without a page refresh
101
- * Expanding and collapsing individual snippets, or all snippets with a click, is now possible
102
- * The state of snippets (expand/collapse) is personal, so snippet managers can open and close snippets as they see fit
103
- * Added a date to the export filename as requested by multiple users, example: post-snippets-export-2014-06-14.zip
104
-
105
- * FIX:
106
- * Compatibility for PHP 7.2
107
- * Fix some URL's in the plugin so they also work when post-snippets folder is not exactly "post-snippets"
108
- * Remove uninstall actions, I believe it's not user friendly to remove data when user uninstalls, what if they are updating (manually)?
109
-
110
- * DEV:
111
- * Added version tags to assets, so updated of javascript and css happen without issues in the following updates
112
- * Added conditional code for checking if dialog and tabs functions exists, by KZeni
113
- * Added Freemius SDK, which will help with improving Post Snippets in the future. It's completely opt-in, you can keep it disabled.
114
-
115
- = Version 2.5.4 - 30 Nov 2017 =
116
- * UI improvement: Add update, add new and delete buttons to top of Snippets list, not just bottom
117
- * Add better note to guide new users to the documentation ('Help' in the top right of the screen)
118
- * Update URL's etc to https://www.postsnippets.com and update other plugin details
119
- * Add 'Get started' admin notice to guide new users to Post Snippets in WordPress Settings
120
- * Add a newsletter opt-in so users can get Post Snippets updates via email
121
- * Add 'Pro features' page for feature voting, tell me what you need in Post Snippets
122
-
123
- = Version 2.5.3 - 14 Feb 2016 =
124
- * Fixes an issue with the compression library for import and export.
125
-
126
- = Version 2.5.2 - 7 Feb 2016 =
127
- * Fixes an issue than can occur when other plugins bootstrap WordPress Admin
128
- and then includes `admin_head` but not `admin_footer`, like download monitor.
129
- * Refactors parts of the code to prepare for a future snippet storage update.
130
-
131
- = Version 2.5.1 - 6 Feb 2016 =
132
- * Makes strings inside javascripts translatable.
133
- * Removes `{content}` from shortcode output if the shortcode is not enclosed.
134
-
135
- = Version 2.5 - 21 Jan 2016 =
136
- * Implements an options tab to handle plugin settings.
137
- * Reverts the change implemented in version 2.3.9 to exclude post snippets from
138
- custom editors by default, and instead adds it as an optional setting.
139
- * Fixes a conflict with plugins that adds custom editors on the frontend.
140
-
141
- = Version 2.4 - 18 Dec 2015 =
142
- * Fixes potential conflict with WP Editor on none post screens.
143
- * Removes notice message on some screens if WordPress debug mode is enabled.
144
-
145
- = Version 2.3.9 - 14 Dec 2015 =
146
- * Only includes the javascript code to include Post Snippets in WordPress'
147
- editor on post editing related screens, to avoid potential conflicts with
148
- other plugins.
149
-
150
- = Version 2.3.8 - 10 Dec 2015 =
151
- * Adds validation of shortcode names. Invalid shortcode names now gets
152
- highlighted in red.
153
-
154
- = Version 2.3.7 - 4 Nov 2015 =
155
- * Updates translatable strings to be Language Pack compatible.
156
-
157
- = Version 2.3.6 - 15 Jul 2015 =
158
- * Bumps minimum required PHP version to 5.3.0.
159
- * Adds list of translators to inline documentation.
160
-
161
- = Version 2.3.5 - 18 Jan 2015 =
162
- * Adds new developer filter, `post_snippets_snippets_list`.
163
- * Integrates plugin doc to the post editor help tab.
164
- * Adds complete plugin usage documentation to the settings help tab.
165
-
166
- = Version 2.3.4 - 20 Sep 2014 =
167
- * Tested up to WordPress v4.0.
168
- * Update Swedish translation.
169
- * Add Ukrainian translation.
170
-
171
- = Version 2.3.3 - 12 Apr 2014 =
172
- * Updates Post Snippets admin screen to not let Chrome XSS Auditor preventing
173
- snippets containg form elements to be saved.
174
- * Adds Serbo-Croatian translation.
175
- * Updated Polish translation.
176
-
177
- = Version 2.3.2 - 5 Aug 2013 =
178
- * Updates insert snippets into the editor to be compatible with jQuery 1.9+
179
- (which makes it compatible with WordPress 3.6).
180
- * Changes WP version check to comply with WordPress 3.3 as the minimum required
181
- version.
182
-
183
- = Version 2.3.1 - 1 Jun 2013 =
184
- * Removes the `$isArray` argument from `PostSnippets::getSnippet()` as it was
185
- not needed.
186
-
187
- = Version 2.3 - 1 Jun 2013 =
188
- * Updates `PostSnippets::getSnippet($name, $variables)` to be able
189
- to accept an array with variables and not only a querystring. Fixes
190
- [issue #22](https://github.com/GreenTreeLabs/post-snippets/issues/22).
191
- * Removes `get_post_snippet()` which was deprecated in version 2.1.
192
- * Adds POST_SNIPPETS_DISABLE_PHP constant to easy disable the PHP code
193
- execution in snippets. Add
194
- `define('POST_SNIPPETS_DISABLE_PHP', true);`
195
- to wp-config.php or the theme's functions.php to disable PHP execution in the
196
- plugin.
197
-
198
- = Version 2.2.3 - 11 May 2013 =
199
- * Fixes issue with the QuickTag button not being displayed in Firefox.
200
-
201
- = Version 2.2.2 - 10 May 2013 =
202
- * The Post Snippets buttons now works everywhere there is a wp_editor present
203
- and not only on post/page edit screens.
204
-
205
- = Version 2.2.1 - 1 May 2013 =
206
- * Added an option to give users with `edit_posts` capability access to the
207
- Post Snippets Admin. Add
208
- `define('POST_SNIPPETS_ALLOW_EDIT_POSTS', true);`
209
- to wp-config.php to enable access for those users. Fixes
210
- [issue #12](https://github.com/GreenTreeLabs/post-snippets/issues/12).
211
- * Optimizes code for the admin section.
212
-
213
- = Version 2.2 - 26 Apr 2013 =
214
- * Bumps required WordPress version to v3.3.
215
- * Fixes a problem with using some HTML entities in snippets.
216
- * Removes the screenshots from the plugin archive, to make a smaller archive.
217
- * Updates help text for `PostSnippets::getSnippet()`.
218
- * Fixes a PHP warning that occurred when no post snippets exist.
219
- * Makes the plugin PSR-2 compliant and introduces Travis CI for testing.
220
-
221
- = Version 2.1.1 - 23 Feb 2013 =
222
- * Fixes a bug that PHP snippets called an old class definition.
223
-
224
- = Version 2.1 - 22 Feb 2013 =
225
- * Default values are now respected as shortcode defaults and not only to
226
- populate the insert window's fields.
227
- * Allow other plugins or themes to disable the PHP Code execution feature using
228
- the new `post_snippets_php_execution_enabled` filter.
229
- * `PostSnippets::getSnippet()` now executes shortcodes within snippets.
230
- * The function `get_post_snippet()` used to retrieve snippets from other
231
- places in WordPress has been deprecated. Please update any code using this
232
- function to use `PostSnippets::getSnippet()` instead, which replaces the old
233
- function. `get_post_snippet()` will be removed in a future version. Most
234
- users are not affected by this change.
235
- * Refactored code to comply with the PSR-0 standard.
236
- * Migrated to GitHub to maintain the code in development.
237
- [Post Snippets at GitHub](https://github.com/GreenTreeLabs/post-snippets).
238
- * Included Polish translation (pl_PL) by Tomasz Wesołowski.
239
- * Included Slovak translation (sk_SK) by Branco Radenovich.
240
-
241
- = Version 2.0 - 29 Mar 2012 =
242
- * Added tabs to the Admin page, and moved Import/Export to a separate tab.
243
- * Pressing enter in a text field now defaults to Update and not Add.
244
- * Fixed debug notice message displayed when deleting without any snippets
245
- selected.
246
- * Various code refactoring and optimizations.
247
-
248
- = Version 1.9.7 - 22 Mar 2012 =
249
- * Updated the styling for the snippet insert window in the post editor. This
250
- fixes the visual glitch with tabs spanning multiple rows.
251
- * Users without `manage_options` but with `edit_posts` capability (authors,
252
- contributors, editors) can now see a read-only list of available snippets and
253
- related info.
254
- * Users with read-only access can toggle if they want to see their snippets
255
- overview as rendered output or as-is.
256
- * Enabled `label for=` with checkboxes.
257
- * Included Romanian translation by Web Hosting Geeks.
258
-
259
- = Version 1.9.6 - 19 Mar 2012 =
260
- * Added two new filters. `post_snippets_import` and `post_snippets_export`.
261
-
262
- = Version 1.9.5 - 17 Mar 2012 =
263
- * The HTML and scripts for the popup window in the post editor is now only
264
- generated on the screens where it's needed.
265
-
266
- = Version 1.9.4 - 8 Feb 2012 =
267
- * Added an option to run shortcodes through wptexturize before output.
268
- * Bugfix: Default values could be cut off. Corrected in this update.
269
-
270
- = Version 1.9.3 - 30 Jan 2012 =
271
- * Fixed a bug that variables using a default value wasn't inserted properly.
272
-
273
- = Version 1.9.2 - 29 Jan 2012 =
274
- * A variable can now be assigned a default value that will be used in the
275
- insert window. Use the = sign to give a variable a default value. Ie.
276
- var1,var2=default,var3.
277
- * Added versioning to the admin jQuery dialog CSS and the TinyMCE plugin
278
- JavaScript to prevent browser caching of older versions on update.
279
-
280
- = Version 1.9.1 - 22 Jan 2012 =
281
- * Updated the built-in help text to include all the latest features added.
282
-
283
- = Version 1.9 - 17 Jan 2012 =
284
- * Initial implementation to allow snippets to be evaluated as PHP code.
285
- * PHP version 5.2.4 or greater is now required to run Post Snippets.
286
-
287
- = Version 1.8.9.2 - 15 Jan 2012 =
288
- * Added an additional check to see if Post Snippets is loaded via a
289
- bootstrapped WP Admin that doesn't set the is_admin() flag, so it works in
290
- that environment as well.
291
-
292
- = Version 1.8.9.1 - 11 Jan 2012 =
293
- * A bug fixed with get_post_snippets() that were introduced in the last update.
294
- * Unit test for get_post_snippets() added to automate testing that it won't
295
- break in future updates.
296
-
297
- = Version 1.8.9 - 10 Jan 2012 =
298
- * Updated the help text to take advantage of the new Help API introduced with
299
- WordPress 3.3.
300
- * Updated the Swedish translation.
301
-
302
- = Version 1.8.8 - 28 Dec 2011 =
303
- * Removed the unneeded QuickTag checkbox from the settings screen for snippets,
304
- as all snippets are now always available from the HTML editor's QuickTag
305
- button.
306
-
307
- = Version 1.8.7 - 25 Dec 2011 =
308
- * Updated the TinyMCE plugin for the Post Snippets button in WordPress Visual
309
- Editor to use the same jQuery UI Dialog window that the HTML button have had
310
- for some time. The consolidation of using the same window and code for the
311
- different buttons will make Post Snippets easier to maintain and update.
312
- * Added an admin notice when running on PHP versions below 5.2.4 to prepare
313
- users that future Post Snippets requirements will be on par with WordPress
314
- 3.3.
315
-
316
- = Version 1.8.6 - 15 Dec 2011 =
317
- * The Post Snippets HTML editor button is updated to be compatible with
318
- WordPress 3.3 refactored QuickTags.
319
-
320
- = Version 1.8.5 - 22 Nov 2011 =
321
- * Included German translation by Brian Flores.
322
- * For all translators: Updated the .pot file to include all the latest strings
323
- and changes.
324
-
325
- = Version 1.8.4 - 10 Nov 2011 =
326
- * Included Belarusian translation by Alexander Ovsov.
327
-
328
- = Version 1.8.3 - 13 Oct 2011 =
329
- * Included Hebrew translation by Sagive.
330
-
331
- = Version 1.8.2 - 3 Sep 2011 =
332
- * Added support for using enclosed shortcodes with the snippets. Use the
333
- variable {content} in your snippets to retrieve the enclosed content.
334
- * Updated the dropdown help text.
335
- * Included Lithuanian translation by Nata Strazda.
336
-
337
- = Version 1.8.1 - 11 Jul 2011 =
338
- * Fixed that a PHP warning is thrown when other scripts called the
339
- get_post_snippet() function without supplying a second argument.
340
-
341
- = Version 1.8 - 30 May 2011 =
342
- * Fixed an escaping problem with the snippet description.
343
- * Added Import / Export functionality.
344
- * Snippets used as shortcodes can now nest other shortcodes in them.
345
-
346
- = Version 1.7.3 - 3 Mar 2011 =
347
- * Added a text area field in the settings panel to enter an optional
348
- description for each snippet. This decription is displayed for the editor
349
- writing a post in the jQuery Post Snippet dialog.
350
- * Fixed the styling of the quicktag jQuery window when the user have disabled
351
- the visual editor completely.
352
- * Fixed problem with line formatting in the new quicktag snippets.
353
- * Fixed a problem with JavaScript snippets breaking the admin page.
354
- * Various small bugfixes.
355
-
356
- = Version 1.7.2 - 28 Feb 2011 =
357
- * Specified text/javascript for the UI dialog script.
358
- * Updated the Spanish translation by Melvis E. Leon Lopez.
359
-
360
- = Version 1.7.1 - 26 Feb 2011 =
361
- * Added styling to the Tabs in the Quicktag jQuery dialog window to make them
362
- more "tab-like".
363
- * Added the possibility to use a description for each snippet to display for
364
- the user when opening the Quicktag jQuery dialog window. Snippets without
365
- description and variables, has a default information message.
366
- * Moved the help text from below the snippets to the contextual help dropdown
367
- menu at the top of the settings page.
368
- * **Changed the required version of WordPress to 3.0**.
369
- * Request by proximity2008: A snippet without anything entered in the snippet
370
- field will not be registered as a shortcode.
371
-
372
- = Version 1.7 - 26 Feb 2011 =
373
- * Complete rewrite of the QuickTags insert functionality. It now uses jQuery UI
374
- to display a similar tabbed window as the TinyMCE button does. There is now
375
- one 'Post Snippets' button in the HTML editor instead of a separate button
376
- for each snippet. As the QuickTags function is completely rewritten, and this
377
- is the initial release of the new method, please report if you encounter any
378
- problems with it.
379
- * Fixed QuickTags compability with WordPress 3.1.
380
- * Added a link to the Post Snippets Settings directly from the entry on the
381
- 'Plugins List' page.
382
- * Added get_post_snippet() function to retrieve snippets directly from PHP.
383
-
384
- = Version 1.5.4 - 26 Jan 2011 =
385
- * Included Turkish translation by Ersan Özdil.
386
-
387
- = Version 1.5.3 - 19 Sep 2010 =
388
- * Included Spanish translation by Melvis E. Leon Lopez.
389
-
390
- = Version 1.5.2 - 17 Sep 2010 =
391
- * The plugin now keeps linefeed formatting when inserting a snippet directly
392
- with a quicktag in the HTML editor.
393
- * Updated the code to not generate warnings when running WordPress in debug
394
- mode.
395
-
396
- = Version 1.5.1 - 12 Mar 2010 =
397
- * Fixed ampersands when used in a shortcode, so they are XHTML valid.
398
-
399
- = Version 1.5 - 12 Jan 2010 =
400
- * Updated the plugin so it works with WordPress 2.9.x (the quicktags didn't
401
- work in 2.9, now fixed.).
402
-
403
- = Version 1.4.9.1 - 5 Sep 2009 =
404
- * Included French translation by Thomas Cailhe (Oyabi).
405
-
406
- = Version 1.4.9 - 10 Aug 2009 =
407
- * Included Russian translation by FatCow.
408
-
409
- = Version 1.4.8 - 9 May 2009 =
410
- * Changed the handling of the TinyMCE button as some server configurations had
411
- problems finding the correct path.
412
- * Fixed a problem that didn't let a snippet contain a </script> tag.
413
-
414
- = Version 1.4.7 - 27 Apr 2009 =
415
- * Added a workaround for a bug in WordPress 2.7.x wp-includes/compat.php that
416
- prevented the plugin to work correctly on webservers running with PHP below
417
- version 5.1.0 together with WP 2.7.x. This bug is patched in WordPress 2.8.
418
-
419
- = Version 1.4.6 - 25 Apr 2009 =
420
- * Updated all code to follow the WordPress Coding Standards for consistency, if
421
- someone wants to modify my code.
422
- * Removed the nodechangehandler from the TinyMCE js, as it didn't fill any
423
- purpose.
424
- * Updated the save code to remove the PHP Notice messages, if using error
425
- logging on the server.
426
- * Added additional proofing for the variables string.
427
-
428
- = Version 1.4.5 - 24 Apr 2009 =
429
- * Fixed a problem in the admin options that didn't allow a form with a textarea
430
- to be used as a snippet.
431
- * Widened the columns for SC and QT slightly in the options panel so they
432
- should look a bit better on the mac.
433
-
434
- = Version 1.4.4 - 19 Apr 2009 =
435
- * Minor fix with quicktags and certain snippets that was left out in the last
436
- update.
437
-
438
- = Version 1.4.3 - 16 Apr 2009 =
439
- * Fixed an escaping problem with the recently implemented shortcode function,
440
- that could cause problems on certain strings.
441
- * Fixed an escaping problem with the quicktag javascript, that could cause
442
- problems on certain strings.
443
-
444
- = Version 1.4.2 - 11 Apr 2009 =
445
- * Fixed some additional syntax for servers where the short_open_tag
446
- configuration setting is disabled.
447
-
448
- = Version 1.4.1 - 10 Apr 2009 =
449
- * Removed all short syntax commands and replaced them with the full versions so
450
- the plugin also works on servers with the short_open_tag configuration
451
- setting disabled.
452
-
453
- = Version 1.4 - 10 Apr 2009 =
454
- * Added a checkbox for Shortcodes (SC) in the admin panel. When checking this
455
- one a dynamic shortcode will be generated and inserted instead of the
456
- snippet, which allows snippets to be updated later on for all posts it's been
457
- inserted into when using this option.
458
- * Added a checkbox for Quicktags (QT) in the admin panel, so Quicktags are
459
- optional. Speeds up loading of the post editor if you don't need the quicktag
460
- support, and only use the visual editor. Defaults to off.
461
-
462
- = Version 1.3.5 - 9 Apr 2009 =
463
- * Fixed so the TinyMCE window adds a scrollbar if there is more variables for a
464
- snippet than fits in the window.
465
- * Fixed a bug that snippets didn't get inserted when using the visual editor in
466
- fullscreen mode.
467
-
468
- = Version 1.3 - 2 Apr 2009 =
469
- * Fixed a problem with the regular expressions that prohibited variables
470
- consisting of just a single number to work.
471
- * Updated the Help info in the admin page to take less space.
472
- * Included a check so the plugin only runs in WP 2.7 or newer.
473
-
474
- = Version 1.2 - 1 Apr 2009 =
475
- * Added support for Quicktags so the snippets can be made available in the HTML
476
- editor as well.
477
-
478
- = Version 1.1 - 24 Mar 2009 =
479
- * Included Swedish translation.
480
- * Added TextDomain functionality for I18n.
481
-
482
- = Version 1.0 - 23 Mar 2009 =
483
- * Initial Release</pre>
484
- </div>
485
-
486
- <h2 style="margin-top:40px;">Other plugins from GreenTreeLabs:</h2>
487
 
488
  <style>
489
  .sab-plugin {
@@ -496,16 +13,17 @@
496
  }
497
  .sab-plugin img {
498
  width: 100%;
 
499
  }
500
  .sab-plugin p {
501
- padding: 10px;
 
502
  }
503
  .sab-center {
504
  text-align: center;
505
  }
506
  .sab-plugin .sab-button {
507
  display:inline-block;
508
-
509
  }
510
  </style>
511
 
 
 
 
 
 
 
 
 
 
 
 
1
 
 
 
2
 
3
+ <h2 style="margin-top:40px;">More plugins by WPexperts:</h2>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
 
5
  <style>
6
  .sab-plugin {
13
  }
14
  .sab-plugin img {
15
  width: 100%;
16
+ height: 200px;
17
  }
18
  .sab-plugin p {
19
+ padding: 15px;
20
+ height: 106px;
21
  }
22
  .sab-center {
23
  text-align: center;
24
  }
25
  .sab-plugin .sab-button {
26
  display:inline-block;
 
27
  }
28
  </style>
29