WP Add Custom CSS - Version 0.9.6

Version Description

  • Fixed WPML bug
Download this release

Release Info

Developer danieledesantis
Plugin Icon 128x128 WP Add Custom CSS
Version 0.9.6
Comparing to
See all releases

Code changes from version 0.9.5 to 0.9.6

languages/wp-add-custom-css-es_ES.mo ADDED
Binary file
languages/wp-add-custom-css-es_ES.po ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Wordpress Add Custom CSS\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-05-10 19:07+0100\n"
6
+ "PO-Revision-Date: Fri May 29 2015 17:22:49 GMT+0200 (Hora de verano romance)\n"
7
+ "Last-Translator: Dub-Dave-995 <dave@imaginaweb.es>\n"
8
+ "Language-Team: \n"
9
+ "Language: Spanish (Spain)\n"
10
+ "Plural-Forms: nplurals=2; plural=n != 1\n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: 8bit\n"
14
+ "X-Poedit-SourceCharset: UTF-8\n"
15
+ "X-Generator: Loco - https://localise.biz/\n"
16
+ "X-Poedit-Basepath: .\n"
17
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
18
+ "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
19
+ "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
20
+ "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
21
+ "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
22
+ "X-Poedit-SearchPath-0: ..\n"
23
+ "X-Loco-Target-Locale: es_ES"
24
+
25
+ #: ../wordpress-add-custom-css - TEST CUSTOM POST TYPE.php:62
26
+ #: ../wordpress-add-custom-css.php:62
27
+ msgid "Custom CSS"
28
+ msgstr "CSS Personalizado"
29
+
30
+ #: ../wordpress-add-custom-css - TEST CUSTOM POST TYPE.php:89
31
+ #: ../wordpress-add-custom-css.php:89
32
+ #, php-format
33
+ msgid "Add custom CSS rules for this %s"
34
+ msgstr "Añadir reglas CSS personalizadas a este %s"
35
+
36
+ #: ../wordpress-add-custom-css - TEST CUSTOM POST TYPE.php:102
37
+ #: ../wordpress-add-custom-css.php:95 ../wordpress-add-custom-css.php:102
38
+ msgid "Wordpress Add Custom CSS"
39
+ msgstr "Wordpress Añadir CSS personalizada"
40
+
41
+ #: ../wordpress-add-custom-css - TEST CUSTOM POST TYPE.php:106
42
+ #: ../wordpress-add-custom-css.php:106
43
+ msgid "Save"
44
+ msgstr "Guardar"
45
+
46
+ #: ../wordpress-add-custom-css - TEST CUSTOM POST TYPE.php:108
47
+ #: ../wordpress-add-custom-css.php:108
48
+ msgid "Credits"
49
+ msgstr "Crédito"
50
+
51
+ #: ../wordpress-add-custom-css - TEST CUSTOM POST TYPE.php:110
52
+ #: ../wordpress-add-custom-css.php:110
53
+ msgid "\"WP Add Custom CSS\" is a plugin by"
54
+ msgstr "\"WP Añadir CSS personalizada\" es un plugin hecho por"
55
+
56
+ #: ../wordpress-add-custom-css - TEST CUSTOM POST TYPE.php:117
57
+ #: ../wordpress-add-custom-css.php:117
58
+ msgid "Write here the CSS rules you want to apply to the whole website."
59
+ msgstr "Escribe aquí las reglas CSS que se aplican a todo el sitio"
60
+
61
+ #: ../wordpress-add-custom-css - TEST CUSTOM POST TYPE.php:202
62
+ #: ../wordpress-add-custom-css.php:202
63
+ msgid "Settings"
64
+ msgstr "Ajustes"
65
+
66
+ #: ../wordpress-add-custom-css.php:95
67
+ msgid "Add Custom CSS"
68
+ msgstr "Añadir CSS personalizada"
69
+
70
+ #: ../wordpress-add-custom-css.php:132
71
+ msgid "Main CSS"
72
+ msgstr "CSS general"
73
+
74
+ #: ../wordpress-add-custom-css.php:138
75
+ msgid "CSS rules"
76
+ msgstr "Reglas CSS"
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: danieledesantis
3
  Tags: css, custom css, stylesheet, custom stylesheet, single post css, site css, single page css
4
  Requires at least: 4.0
5
- Tested up to: 4.2.2
6
- Stable tag: 0.9.5
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -21,6 +21,7 @@ Available languages:
21
 
22
  - English
23
  - German - thanks to <a href="http://bodograumann.de/" target="_blank">Bodo Graumann</a>
 
24
 
25
  == Installation ==
26
 
@@ -57,6 +58,9 @@ Click on the "Screen option" link from your post/page editing area and be sure t
57
 
58
  == Changelog ==
59
 
 
 
 
60
  = 0.9.5 =
61
  * Improved css output for single posts and pages
62
 
@@ -78,6 +82,9 @@ Click on the "Screen option" link from your post/page editing area and be sure t
78
 
79
  == Upgrade Notice ==
80
 
 
 
 
81
  = 0.9.5 =
82
  * Improved css output for single posts and pages
83
 
2
  Contributors: danieledesantis
3
  Tags: css, custom css, stylesheet, custom stylesheet, single post css, site css, single page css
4
  Requires at least: 4.0
5
+ Tested up to: 4.3.1
6
+ Stable tag: 0.9.6
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
21
 
22
  - English
23
  - German - thanks to <a href="http://bodograumann.de/" target="_blank">Bodo Graumann</a>
24
+ - Spanish - thanks to <a href="http://www.imaginaweb.es/" target="_blank">Dave Krul</a>
25
 
26
  == Installation ==
27
 
58
 
59
  == Changelog ==
60
 
61
+ = 0.9.6 =
62
+ * Fixed WPML bug
63
+
64
  = 0.9.5 =
65
  * Improved css output for single posts and pages
66
 
82
 
83
  == Upgrade Notice ==
84
 
85
+ = 0.9.6 =
86
+ * Fixed WPML bug
87
+
88
  = 0.9.5 =
89
  * Improved css output for single posts and pages
90
 
wordpress-add-custom-css.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Add Custom CSS
4
  Plugin URI: http://www.danieledesantis.net
5
  Description: Add custom css to the whole website and to specific posts and pages.
6
- Version: 0.9.5
7
  Author: Daniele De Santis
8
  Author URI: http://www.danieledesantis.net
9
  Text Domain: wp-add-custom-css
@@ -169,7 +169,7 @@ if(!class_exists('Wpacc'))
169
  public function add_custom_css() {
170
  $this->options = get_option( 'wpacc_settings' );
171
  if ( isset($this->options['main_custom_style']) && $this->options['main_custom_style'] != '') {
172
- wp_register_style( 'wp-add-custom-css', get_bloginfo('url') . '?display_custom_css=css' );
173
  wp_enqueue_style( 'wp-add-custom-css' );
174
  }
175
  }
3
  Plugin Name: WP Add Custom CSS
4
  Plugin URI: http://www.danieledesantis.net
5
  Description: Add custom css to the whole website and to specific posts and pages.
6
+ Version: 0.9.6
7
  Author: Daniele De Santis
8
  Author URI: http://www.danieledesantis.net
9
  Text Domain: wp-add-custom-css
169
  public function add_custom_css() {
170
  $this->options = get_option( 'wpacc_settings' );
171
  if ( isset($this->options['main_custom_style']) && $this->options['main_custom_style'] != '') {
172
+ wp_register_style( 'wp-add-custom-css', site_url() . '?display_custom_css=css' );
173
  wp_enqueue_style( 'wp-add-custom-css' );
174
  }
175
  }