Version Description
- Added Polish translation, Slovak translation files renamed by Tomasz Wesoowski
- Added Spanish translation by Maria Ramos at WebHostingHub
Download this release
Release Info
Developer | elusivelight |
Plugin | Widget CSS Classes |
Version | 1.2.3 |
Comparing to | |
See all releases |
Code changes from version 1.2.2 to 1.2.3
- README +1 -0
- Thumbs.db +0 -0
- languages/widget-css-classes-es_ES.mo +0 -0
- languages/widget-css-classes-es_ES.po +156 -0
- languages/widget-css-classes-pl_PL.mo +0 -0
- languages/widget-css-classes-pl_PL.po +158 -0
- languages/{widget-css-classes_sk_SK.mo → widget-css-classes-sk_SK.mo} +0 -0
- languages/{widget-css-classes_sk_SK.po → widget-css-classes-sk_SK.po} +0 -0
- readme.txt +38 -14
- widget-css-classes.php +2 -2
README
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
This file was created by JetBrains PhpStorm 4.0.3 for binding GitHub repository
|
Thumbs.db
ADDED
Binary file
|
languages/widget-css-classes-es_ES.mo
ADDED
Binary file
|
languages/widget-css-classes-es_ES.po
ADDED
@@ -0,0 +1,156 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-12-02 15:50-0500\n"
|
6 |
+
"PO-Revision-Date: 2013-11-05 12:00+0100\n"
|
7 |
+
"Last-Translator: jelena kovacevic <jecajeca260@gmail.com>\n"
|
8 |
+
"Language-Team: <cindy@cleverness.org>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
|
13 |
+
"X-Poedit-Basepath: ./\n"
|
14 |
+
"X-Generator: Poedit 1.5.5\n"
|
15 |
+
"X-Poedit-SearchPath-0: ..\n"
|
16 |
+
|
17 |
+
#: ../widget-css-classes.php:54
|
18 |
+
#: ../includes/widget-css-classes-loader.class.php:40
|
19 |
+
msgid ""
|
20 |
+
"Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
|
21 |
+
"wordpress.org/Upgrading_WordPress\">Please update.</a>"
|
22 |
+
msgstr ""
|
23 |
+
"Widget CSS Classes requiere WordPress 3.3 o posterior. <a href=\"http://"
|
24 |
+
"codex.wordpress.org/Upgrading_WordPress\">Por favor actualice.</a>"
|
25 |
+
|
26 |
+
#: ../includes/widget-css-classes-library.class.php:31
|
27 |
+
msgid "Settings"
|
28 |
+
msgstr "Configuración"
|
29 |
+
|
30 |
+
#: ../includes/widget-css-classes-library.class.php:45
|
31 |
+
msgid "Version"
|
32 |
+
msgstr "Versión"
|
33 |
+
|
34 |
+
#: ../includes/widget-css-classes-library.class.php:46
|
35 |
+
msgid "Donate"
|
36 |
+
msgstr "Donar"
|
37 |
+
|
38 |
+
#: ../includes/widget-css-classes-settings.class.php:39
|
39 |
+
#: ../includes/widget-css-classes-settings.class.php:42
|
40 |
+
msgid "Widget CSS Classes Settings"
|
41 |
+
msgstr "Configuración de Clases CSS del Widget"
|
42 |
+
|
43 |
+
#: ../includes/widget-css-classes-settings.class.php:43
|
44 |
+
msgid "Add Widget Number Classes"
|
45 |
+
msgstr "Adicionar Clases de Número de Widget"
|
46 |
+
|
47 |
+
#: ../includes/widget-css-classes-settings.class.php:44
|
48 |
+
msgid "Add First/Last Classes"
|
49 |
+
msgstr "Adicionar Primeras/Últimas Clases"
|
50 |
+
|
51 |
+
#: ../includes/widget-css-classes-settings.class.php:45
|
52 |
+
msgid "Add Even/Odd Classes"
|
53 |
+
msgstr "Adicionar Clases Pares/Impares"
|
54 |
+
|
55 |
+
#: ../includes/widget-css-classes-settings.class.php:46
|
56 |
+
msgid "Show Additional Field for ID"
|
57 |
+
msgstr "Mostrar Campo Adicional para el ID"
|
58 |
+
|
59 |
+
#: ../includes/widget-css-classes-settings.class.php:47
|
60 |
+
msgid "Class Field Type"
|
61 |
+
msgstr "Tipo de Campo de la Clase"
|
62 |
+
|
63 |
+
#: ../includes/widget-css-classes-settings.class.php:48
|
64 |
+
msgid "Define Classes for Dropdown"
|
65 |
+
msgstr "Definir Clases para Menú Desplegable"
|
66 |
+
|
67 |
+
#: ../includes/widget-css-classes-settings.class.php:53
|
68 |
+
#: ../includes/widget-css-classes-settings.class.php:60
|
69 |
+
#: ../includes/widget-css-classes-settings.class.php:67
|
70 |
+
#: ../includes/widget-css-classes-settings.class.php:74
|
71 |
+
msgid "Yes"
|
72 |
+
msgstr "Sí"
|
73 |
+
|
74 |
+
#: ../includes/widget-css-classes-settings.class.php:54
|
75 |
+
#: ../includes/widget-css-classes-settings.class.php:61
|
76 |
+
#: ../includes/widget-css-classes-settings.class.php:68
|
77 |
+
#: ../includes/widget-css-classes-settings.class.php:75
|
78 |
+
msgid "No"
|
79 |
+
msgstr "No"
|
80 |
+
|
81 |
+
#: ../includes/widget-css-classes-settings.class.php:81
|
82 |
+
msgid "Text"
|
83 |
+
msgstr "Texto"
|
84 |
+
|
85 |
+
#: ../includes/widget-css-classes-settings.class.php:82
|
86 |
+
msgid "Dropdown"
|
87 |
+
msgstr "Menú Desplegable"
|
88 |
+
|
89 |
+
#: ../includes/widget-css-classes-settings.class.php:83
|
90 |
+
msgid "Hide"
|
91 |
+
msgstr "Ocultar"
|
92 |
+
|
93 |
+
#: ../includes/widget-css-classes-settings.class.php:115
|
94 |
+
msgid "Import/Export"
|
95 |
+
msgstr "Importar/Exportar"
|
96 |
+
|
97 |
+
#: ../includes/widget-css-classes-settings.class.php:120
|
98 |
+
msgid "Settings Imported"
|
99 |
+
msgstr "Configuración Importada"
|
100 |
+
|
101 |
+
#: ../includes/widget-css-classes-settings.class.php:123
|
102 |
+
msgid "Invalid Settings File"
|
103 |
+
msgstr "Archivo de Configuración Inválido"
|
104 |
+
|
105 |
+
#: ../includes/widget-css-classes-settings.class.php:126
|
106 |
+
msgid "No Settings File Selected"
|
107 |
+
msgstr "No se seleccionó ningún Archivo de Configuración"
|
108 |
+
|
109 |
+
#: ../includes/widget-css-classes-settings.class.php:197
|
110 |
+
msgid "Widget CSS Classes"
|
111 |
+
msgstr "Clases CSS de Widget"
|
112 |
+
|
113 |
+
#: ../includes/widget-css-classes-settings.class.php:243
|
114 |
+
msgid "Import/Export Settings"
|
115 |
+
msgstr "Configuración de Importar/Exportar"
|
116 |
+
|
117 |
+
#: ../includes/widget-css-classes-settings.class.php:245
|
118 |
+
msgid "Export Settings"
|
119 |
+
msgstr "Configuración de Exportar"
|
120 |
+
|
121 |
+
#: ../includes/widget-css-classes-settings.class.php:249
|
122 |
+
msgid "Import Settings"
|
123 |
+
msgstr "Configuración de Importar"
|
124 |
+
|
125 |
+
#: ../includes/widget-css-classes.class.php:34
|
126 |
+
msgid "CSS ID"
|
127 |
+
msgstr "ID del CSS"
|
128 |
+
|
129 |
+
#: ../includes/widget-css-classes.class.php:40
|
130 |
+
#: ../includes/widget-css-classes.class.php:47
|
131 |
+
msgid "CSS Class"
|
132 |
+
msgstr "Clase del CSS"
|
133 |
+
|
134 |
+
#: ../includes/widget-css-classes.class.php:49
|
135 |
+
msgid "Select"
|
136 |
+
msgstr "Seleccionar"
|
137 |
+
|
138 |
+
#: ../includes/widget-css-classes.class.php:147
|
139 |
+
msgid "widget-"
|
140 |
+
msgstr "widget-"
|
141 |
+
|
142 |
+
#: ../includes/widget-css-classes.class.php:151
|
143 |
+
msgid "widget-first"
|
144 |
+
msgstr "widget-primero"
|
145 |
+
|
146 |
+
#: ../includes/widget-css-classes.class.php:152
|
147 |
+
msgid "widget-last"
|
148 |
+
msgstr "widget-último"
|
149 |
+
|
150 |
+
#: ../includes/widget-css-classes.class.php:162
|
151 |
+
msgid "widget-even"
|
152 |
+
msgstr "widget-par"
|
153 |
+
|
154 |
+
#: ../includes/widget-css-classes.class.php:163
|
155 |
+
msgid "widget-odd"
|
156 |
+
msgstr "widget-impar"
|
languages/widget-css-classes-pl_PL.mo
ADDED
Binary file
|
languages/widget-css-classes-pl_PL.po
ADDED
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Widget CSS Classes\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2013-10-11 16:23+0100\n"
|
6 |
+
"PO-Revision-Date: 2013-10-11 16:45+0100\n"
|
7 |
+
"Last-Translator: Tomasz Wesołowski <tomek@ittw.pl>\n"
|
8 |
+
"Language-Team: ITTW <tomek@ittw.pl>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Poedit-KeywordsList: _;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e;"
|
13 |
+
"esc_html__\n"
|
14 |
+
"X-Poedit-Basepath: ./\n"
|
15 |
+
"X-Generator: Poedit 1.5.7\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Poedit-SearchPath-0: ..\n"
|
18 |
+
|
19 |
+
#: ../widget-css-classes.php:54
|
20 |
+
#: ../includes/widget-css-classes-loader.class.php:40
|
21 |
+
msgid ""
|
22 |
+
"Widget CSS Classes requires WordPress 3.3 or newer. <a href=\"http://codex."
|
23 |
+
"wordpress.org/Upgrading_WordPress\">Please update.</a>"
|
24 |
+
msgstr ""
|
25 |
+
"Widget CSS Classes wymaga WordPress-a w wersji 3.3 lub nowszego. <a href="
|
26 |
+
"\"http://codex.wordpress.org/Upgrading_WordPress\">Zaktualizuj.</a>"
|
27 |
+
|
28 |
+
#: ../includes/widget-css-classes-library.class.php:31
|
29 |
+
msgid "Settings"
|
30 |
+
msgstr "Ustawienia"
|
31 |
+
|
32 |
+
#: ../includes/widget-css-classes-library.class.php:45
|
33 |
+
msgid "Version"
|
34 |
+
msgstr "Wersja"
|
35 |
+
|
36 |
+
#: ../includes/widget-css-classes-library.class.php:46
|
37 |
+
msgid "Donate"
|
38 |
+
msgstr "Wesprzyj"
|
39 |
+
|
40 |
+
#: ../includes/widget-css-classes-settings.class.php:39
|
41 |
+
#: ../includes/widget-css-classes-settings.class.php:42
|
42 |
+
msgid "Widget CSS Classes Settings"
|
43 |
+
msgstr "Ustawienia"
|
44 |
+
|
45 |
+
#: ../includes/widget-css-classes-settings.class.php:43
|
46 |
+
msgid "Add Widget Number Classes"
|
47 |
+
msgstr "Dodaj numer widgetu jako klasę"
|
48 |
+
|
49 |
+
#: ../includes/widget-css-classes-settings.class.php:44
|
50 |
+
msgid "Add First/Last Classes"
|
51 |
+
msgstr "Dodaj Pierwszy/Ostatni jako klasę"
|
52 |
+
|
53 |
+
#: ../includes/widget-css-classes-settings.class.php:45
|
54 |
+
msgid "Add Even/Odd Classes"
|
55 |
+
msgstr "Dodaj Parzysty/Nieparzysty"
|
56 |
+
|
57 |
+
#: ../includes/widget-css-classes-settings.class.php:46
|
58 |
+
msgid "Show Additional Field for ID"
|
59 |
+
msgstr "Pokaż dodatkowe pole dla ID"
|
60 |
+
|
61 |
+
#: ../includes/widget-css-classes-settings.class.php:47
|
62 |
+
msgid "Class Field Type"
|
63 |
+
msgstr "Typ wybory klasy"
|
64 |
+
|
65 |
+
#: ../includes/widget-css-classes-settings.class.php:48
|
66 |
+
msgid "Define Classes for Dropdown"
|
67 |
+
msgstr "Zdefiniuj klasy dla Listy"
|
68 |
+
|
69 |
+
#: ../includes/widget-css-classes-settings.class.php:53
|
70 |
+
#: ../includes/widget-css-classes-settings.class.php:60
|
71 |
+
#: ../includes/widget-css-classes-settings.class.php:67
|
72 |
+
#: ../includes/widget-css-classes-settings.class.php:74
|
73 |
+
msgid "Yes"
|
74 |
+
msgstr "Tak"
|
75 |
+
|
76 |
+
#: ../includes/widget-css-classes-settings.class.php:54
|
77 |
+
#: ../includes/widget-css-classes-settings.class.php:61
|
78 |
+
#: ../includes/widget-css-classes-settings.class.php:68
|
79 |
+
#: ../includes/widget-css-classes-settings.class.php:75
|
80 |
+
msgid "No"
|
81 |
+
msgstr "Nie"
|
82 |
+
|
83 |
+
#: ../includes/widget-css-classes-settings.class.php:81
|
84 |
+
msgid "Text"
|
85 |
+
msgstr "Tekst"
|
86 |
+
|
87 |
+
#: ../includes/widget-css-classes-settings.class.php:82
|
88 |
+
msgid "Dropdown"
|
89 |
+
msgstr "Lista"
|
90 |
+
|
91 |
+
#: ../includes/widget-css-classes-settings.class.php:83
|
92 |
+
msgid "Hide"
|
93 |
+
msgstr "Ukryj"
|
94 |
+
|
95 |
+
#: ../includes/widget-css-classes-settings.class.php:115
|
96 |
+
msgid "Import/Export"
|
97 |
+
msgstr "Import/Export"
|
98 |
+
|
99 |
+
#: ../includes/widget-css-classes-settings.class.php:120
|
100 |
+
msgid "Settings Imported"
|
101 |
+
msgstr "Ustawienia zostały zaimportowane"
|
102 |
+
|
103 |
+
#: ../includes/widget-css-classes-settings.class.php:123
|
104 |
+
msgid "Invalid Settings File"
|
105 |
+
msgstr "Błędny plik ustawień"
|
106 |
+
|
107 |
+
#: ../includes/widget-css-classes-settings.class.php:126
|
108 |
+
msgid "No Settings File Selected"
|
109 |
+
msgstr "Nie wybrano pliku z ustawieniami"
|
110 |
+
|
111 |
+
#: ../includes/widget-css-classes-settings.class.php:197
|
112 |
+
msgid "Widget CSS Classes"
|
113 |
+
msgstr "Widget CSS Classes"
|
114 |
+
|
115 |
+
#: ../includes/widget-css-classes-settings.class.php:243
|
116 |
+
msgid "Import/Export Settings"
|
117 |
+
msgstr "Import/Export Ustawienia"
|
118 |
+
|
119 |
+
#: ../includes/widget-css-classes-settings.class.php:245
|
120 |
+
msgid "Export Settings"
|
121 |
+
msgstr "Ustawienia eksportu"
|
122 |
+
|
123 |
+
#: ../includes/widget-css-classes-settings.class.php:249
|
124 |
+
msgid "Import Settings"
|
125 |
+
msgstr "Ustawienia importu"
|
126 |
+
|
127 |
+
#: ../includes/widget-css-classes.class.php:34
|
128 |
+
msgid "CSS ID"
|
129 |
+
msgstr "CSS ID"
|
130 |
+
|
131 |
+
#: ../includes/widget-css-classes.class.php:40
|
132 |
+
#: ../includes/widget-css-classes.class.php:47
|
133 |
+
msgid "CSS Class"
|
134 |
+
msgstr "CSS Klasa"
|
135 |
+
|
136 |
+
#: ../includes/widget-css-classes.class.php:49
|
137 |
+
msgid "Select"
|
138 |
+
msgstr "Wybierz"
|
139 |
+
|
140 |
+
#: ../includes/widget-css-classes.class.php:154
|
141 |
+
msgid "widget-"
|
142 |
+
msgstr "widget-"
|
143 |
+
|
144 |
+
#: ../includes/widget-css-classes.class.php:158
|
145 |
+
msgid "widget-first"
|
146 |
+
msgstr "widget-first"
|
147 |
+
|
148 |
+
#: ../includes/widget-css-classes.class.php:159
|
149 |
+
msgid "widget-last"
|
150 |
+
msgstr "widget-last"
|
151 |
+
|
152 |
+
#: ../includes/widget-css-classes.class.php:169
|
153 |
+
msgid "widget-even"
|
154 |
+
msgstr "widget-even"
|
155 |
+
|
156 |
+
#: ../includes/widget-css-classes.class.php:170
|
157 |
+
msgid "widget-odd"
|
158 |
+
msgstr "widget-odd"
|
languages/{widget-css-classes_sk_SK.mo → widget-css-classes-sk_SK.mo}
RENAMED
File without changes
|
languages/{widget-css-classes_sk_SK.po → widget-css-classes-sk_SK.po}
RENAMED
File without changes
|
readme.txt
CHANGED
@@ -7,16 +7,19 @@ Tags: widgets, classes, css, widget classes, widget css
|
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Requires at least: 3.3
|
10 |
-
Tested up to: 3.7
|
11 |
-
Stable tag: 1.2.
|
12 |
|
13 |
Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.
|
14 |
|
15 |
== Description ==
|
16 |
|
17 |
-
Widget CSS Classes gives you the ability to add custom classes and ids to your WordPress widgets
|
18 |
|
19 |
-
|
|
|
|
|
|
|
20 |
|
21 |
* widget-first: added to the first widget in a sidebar
|
22 |
* widget-last: added to the last widget in a sidebar
|
@@ -24,11 +27,11 @@ This plugin also adds additional classes to help you style your widgets easier:
|
|
24 |
* widget-even: added to even numbered widgets in a sidebar
|
25 |
* widget-#: added to every widget, such as widget-1, widget-2
|
26 |
|
27 |
-
|
28 |
|
29 |
* Adds a text field to a widget for defining a class
|
30 |
* You can specify multiple classes by putting a space between them
|
31 |
-
* Optionally adds a
|
32 |
* Optionally adds a text field to add an id to a widget
|
33 |
* Adds first and last classes to the first and last widget instances in a sidebar
|
34 |
* Adds even/odd classes to widgets
|
@@ -42,19 +45,22 @@ Features:
|
|
42 |
|
43 |
== Installation ==
|
44 |
|
45 |
-
1. Upload the folder
|
46 |
-
2. Activate the plugin through the
|
47 |
-
3. Configure the settings under
|
48 |
-
4. Visit
|
49 |
5. Expand the appropriate widget in the desired sidebar.
|
50 |
-
6. You'll see a field labeled
|
51 |
7. If you are using the text field you can enter multiple class names by separating them with a space.
|
52 |
-
8. If you've enabled the id field, you will see a text field called
|
53 |
|
54 |
== Frequently Asked Questions ==
|
55 |
|
56 |
= Why aren't the classes showing up in my widget? =
|
57 |
-
You
|
|
|
|
|
|
|
58 |
|
59 |
Example:
|
60 |
`register_sidebar( array(
|
@@ -65,8 +71,15 @@ Example:
|
|
65 |
'after_title' => '</h2>'
|
66 |
) );`
|
67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
= How I export the Settings? =
|
69 |
-
You can export the Settings from
|
70 |
|
71 |
= What should I do if I find a bug? =
|
72 |
|
@@ -81,6 +94,10 @@ Visit [the plugin website](http://cleverness.org/plugins/widget-css-classes/) an
|
|
81 |
|
82 |
== Changelog ==
|
83 |
|
|
|
|
|
|
|
|
|
84 |
= 1.2.2 =
|
85 |
* Fix for notice on line 103 when using Widget Logic
|
86 |
* Tested with WordPress 3.7 beta 1
|
@@ -106,6 +123,9 @@ Visit [the plugin website](http://cleverness.org/plugins/widget-css-classes/) an
|
|
106 |
|
107 |
== Upgrade Notice ==
|
108 |
|
|
|
|
|
|
|
109 |
= 1.2.2 =
|
110 |
Bug fix
|
111 |
|
@@ -130,6 +150,10 @@ Widget Context compatibility fix provided by [Joan Piedra](http://joanpiedra.com
|
|
130 |
|
131 |
Slovak translation by Branco [WebHostingGeeks.com](http://webhostinggeeks.com/user-reviews/)
|
132 |
|
|
|
|
|
|
|
|
|
133 |
== License ==
|
134 |
|
135 |
This file is part of Widget CSS Classes.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
Requires at least: 3.3
|
10 |
+
Tested up to: 3.7.1
|
11 |
+
Stable tag: 1.2.3
|
12 |
|
13 |
Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.
|
14 |
|
15 |
== Description ==
|
16 |
|
17 |
+
### Widget CSS Classes gives you the ability to add custom classes and ids to your WordPress widgets ###
|
18 |
|
19 |
+
_Please note that this plugin doesn't enable you to enter custom CSS. You'll need to edit your theme's style.css or add another
|
20 |
+
plugin that allows you to input custom CSS._
|
21 |
+
|
22 |
+
__This plugin also adds additional classes to widgets to help you style them easier:__
|
23 |
|
24 |
* widget-first: added to the first widget in a sidebar
|
25 |
* widget-last: added to the last widget in a sidebar
|
27 |
* widget-even: added to even numbered widgets in a sidebar
|
28 |
* widget-#: added to every widget, such as widget-1, widget-2
|
29 |
|
30 |
+
__Features:__
|
31 |
|
32 |
* Adds a text field to a widget for defining a class
|
33 |
* You can specify multiple classes by putting a space between them
|
34 |
+
* Optionally adds a drop-down menu with predefined classes instead of a text field
|
35 |
* Optionally adds a text field to add an id to a widget
|
36 |
* Adds first and last classes to the first and last widget instances in a sidebar
|
37 |
* Adds even/odd classes to widgets
|
45 |
|
46 |
== Installation ==
|
47 |
|
48 |
+
1. Upload the folder _/widget-css-classes/_ to the _/wp-content/plugins/_ directory
|
49 |
+
2. Activate the plugin through the __Plugins__ menu in WordPress
|
50 |
+
3. Configure the settings under __Settings > Widget CSS Classes__
|
51 |
+
4. Visit __Appearance > Widgets__ to add or change the custom classes and ids for a widget.
|
52 |
5. Expand the appropriate widget in the desired sidebar.
|
53 |
+
6. You'll see a field labeled __CSS Class__. Depending on your settings, this will be a text field or a drop-down field.
|
54 |
7. If you are using the text field you can enter multiple class names by separating them with a space.
|
55 |
+
8. If you've enabled the id field, you will see a text field called __CSS ID__.
|
56 |
|
57 |
== Frequently Asked Questions ==
|
58 |
|
59 |
= Why aren't the classes showing up in my widget? =
|
60 |
+
You need to make sure you have an HTML element defined for `before_widget` and `after_widget` in your active theme's `register_sidebar` functions,
|
61 |
+
usually located in your theme's functions.php (_/wp-content/themes/yourtheme/functions.php_).
|
62 |
+
|
63 |
+
This HTML element must have class and id attributes. This plugin will not work if `before_widget` and `after_widget` are blank.
|
64 |
|
65 |
Example:
|
66 |
`register_sidebar( array(
|
71 |
'after_title' => '</h2>'
|
72 |
) );`
|
73 |
|
74 |
+
= How do I add the CSS for my custom class? =
|
75 |
+
There are two ways:
|
76 |
+
|
77 |
+
1. Edit your theme's style.css file (usually located in _/wp-content/themes/yourtheme/_).
|
78 |
+
|
79 |
+
2. Use a plugin such as [Simple Custom CSS](http://wordpress.org/plugins/simple-custom-css/).
|
80 |
+
|
81 |
= How I export the Settings? =
|
82 |
+
You can export the Settings from __Settings > Widget CSS Classes > Import/Export__.
|
83 |
|
84 |
= What should I do if I find a bug? =
|
85 |
|
94 |
|
95 |
== Changelog ==
|
96 |
|
97 |
+
= 1.2.3 =
|
98 |
+
* Added Polish translation, Slovak translation files renamed by [Tomasz Wesołowski](https://github.com/ittw)
|
99 |
+
* Added Spanish translation by [Maria Ramos at WebHostingHub](http://www.webhostinghub.com/)
|
100 |
+
|
101 |
= 1.2.2 =
|
102 |
* Fix for notice on line 103 when using Widget Logic
|
103 |
* Tested with WordPress 3.7 beta 1
|
123 |
|
124 |
== Upgrade Notice ==
|
125 |
|
126 |
+
= 1.2.3 =
|
127 |
+
New translations
|
128 |
+
|
129 |
= 1.2.2 =
|
130 |
Bug fix
|
131 |
|
150 |
|
151 |
Slovak translation by Branco [WebHostingGeeks.com](http://webhostinggeeks.com/user-reviews/)
|
152 |
|
153 |
+
Polish translation added, Slovak translation files renamed by [Tomasz Wesołowski](https://github.com/ittw)
|
154 |
+
|
155 |
+
Spanish translation by [Maria Ramos at WebHostingHub](http://www.webhostinghub.com/)
|
156 |
+
|
157 |
== License ==
|
158 |
|
159 |
This file is part of Widget CSS Classes.
|
widget-css-classes.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Widget CSS Classes
|
4 |
-
Version: 1.2.
|
5 |
Description: Add custom, first, last, even, odd, and numbered classes to your widgets.
|
6 |
Author: C.M. Kendrick
|
7 |
Author URI: http://cleverness.org
|
@@ -22,7 +22,7 @@ function widget_css_classes_loader() {
|
|
22 |
|
23 |
if ( is_admin() ) {
|
24 |
|
25 |
-
if ( !defined( 'WCSSC_PLUGIN_VERSION' ) ) define( 'WCSSC_PLUGIN_VERSION', '1.2.
|
26 |
if ( !defined( 'WCSSC_FILE' ) ) define( 'WCSSC_FILE', __FILE__ );
|
27 |
if ( !defined( 'WCSSC_BASENAME' ) ) define( 'WCSSC_BASENAME', plugin_basename( __FILE__ ) );
|
28 |
if ( !defined( 'WCSSC_PLUGIN_DIR' ) ) define( 'WCSSC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Widget CSS Classes
|
4 |
+
Version: 1.2.3
|
5 |
Description: Add custom, first, last, even, odd, and numbered classes to your widgets.
|
6 |
Author: C.M. Kendrick
|
7 |
Author URI: http://cleverness.org
|
22 |
|
23 |
if ( is_admin() ) {
|
24 |
|
25 |
+
if ( !defined( 'WCSSC_PLUGIN_VERSION' ) ) define( 'WCSSC_PLUGIN_VERSION', '1.2.3' );
|
26 |
if ( !defined( 'WCSSC_FILE' ) ) define( 'WCSSC_FILE', __FILE__ );
|
27 |
if ( !defined( 'WCSSC_BASENAME' ) ) define( 'WCSSC_BASENAME', plugin_basename( __FILE__ ) );
|
28 |
if ( !defined( 'WCSSC_PLUGIN_DIR' ) ) define( 'WCSSC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|