Changeset 1783384
- Timestamp:
- 12/08/2017 03:09:31 PM (16 months ago)
- Location:
- wp-custom-body-class
- Files:
-
- 13 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
wp-custom-body-class/tags/0.5.0
- Property svn:ignore
-
old new 7 7 pxg.json 8 8 README.md 9 .git
-
- Property svn:ignore
-
wp-custom-body-class/tags/0.5.0/class-custom_body_class.php
r1503482 r1783384 3 3 * CustomBodyClass. 4 4 * @package CustomBodyClass 5 * @author Andrei Lupu < andrei.lupu@pixelgrade.com>5 * @author Andrei Lupu <euthelup@gmail.com> 6 6 * @license GPL-2.0+ 7 7 * @link http://andrei-lupu.com … … 12 12 * Plugin class. 13 13 * @package CustomBodyClass 14 * @author Andrei Lupu < andrei.lupu@pixelgrade.com>14 * @author Andrei Lupu <euthelup@gmail.com> 15 15 */ 16 16 class CustomBodyClassPlugin { … … 21 21 * @const string 22 22 */ 23 protected $version = '0. 4.0';23 protected $version = '0.5.0'; 24 24 25 25 /** … … 330 330 } 331 331 332 if ( ! empty( $this->plugin_settings['global_class'] ) ) { 333 334 // for the non mobil version you should use the :not() selector 335 if ( wp_is_mobile() ) { 336 $classes[] = sanitize_html_class( 'mobile-' . $this->plugin_settings['global_class'] ); 337 } 338 339 $classes[] = sanitize_html_class( $this->plugin_settings['global_class'] ); 340 } 341 332 342 // return the $classes array 333 343 return $classes; -
wp-custom-body-class/tags/0.5.0/custom_body_class.php
r1503492 r1783384 1 1 <?php 2 2 /* 3 * @package CustomBodyClass4 * @author PixelGrade <[email protected]>5 * @license GPL-2.0+6 * @link http://andrei-lupu.com7 * @copyright 2014 PixelGrade8 *9 * @wordpress-plugin10 3 Plugin Name: Custom Body Class 11 Plugin URI: http ://andrei-lupu.com4 Plugin URI: https://a.lupu.pro 12 5 Description: A plugin which allows you to add a custom CSS class the HTML body tag 13 Version: 0. 4.06 Version: 0.5.0 14 7 Author: Andrei Lupu 15 Author URI: http ://andrei-lupu.com16 Author Email: andrei.lupu@pixelgrade.com8 Author URI: https://a.lupu.pro 9 Author Email: euthelup@gmail.com 17 10 Text Domain: custom_body_class 18 11 License: GPL-2.0+ -
wp-custom-body-class/tags/0.5.0/plugin-defaults.php
r1244176 r1783384 8 8 'allow_edit_on_post_page' => 1, 9 9 'enable_autocomplete' => 1, 10 'global_class' => '', 10 11 11 12 ); # config -
wp-custom-body-class/tags/0.5.0/readme.txt
r1503763 r1783384 2 2 Contributors: euthelup 3 3 Tags: custom, body, css, class 4 Requires at least: 4. 0.05 Tested up to: 4. 6.06 Stable tag: 0. 4.04 Requires at least: 4.7.0 5 Tested up to: 4.9.1 6 Stable tag: 0.5.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 24 24 == Changelog == 25 25 26 = 0.5.0 = 27 * Add an option for a global class 28 26 29 = 0.4.0 = 27 30 * Add support for classes on mobile devices -
wp-custom-body-class/tags/0.5.0/settings/general.php
r1244176 r1783384 17 17 'desc' => __( 'Would you like to get auto completed values?' ), 18 18 ), 19 20 'global_class' => array( 21 'label' => __( 'Global Class', 'custom_body_class_txtd' ), 22 'default' => '', 23 'type' => 'text', 24 'description' => __( 'If you need a temporary CSS class on the entire website here is the place' ), 25 ), 26 19 27 'display_on_post_types' => array( 20 28 'label' => __( 'Post Types', 'custom_body_class_txtd' ), -
wp-custom-body-class/tags/0.5.0/views/admin.php
r1207019 r1783384 7 7 * 8 8 * @package PixTypes 9 * @author Andrei Lupu < andrei.lupu@pixelgrade.com>9 * @author Andrei Lupu <euthelup@gmail.com> 10 10 * @license GPL-2.0+ 11 11 * @link http://andrei-lupu.com -
wp-custom-body-class/trunk
- Property svn:ignore
-
old new 7 7 pxg.json 8 8 README.md 9 .git
-
- Property svn:ignore
-
wp-custom-body-class/trunk/class-custom_body_class.php
r1503482 r1783384 3 3 * CustomBodyClass. 4 4 * @package CustomBodyClass 5 * @author Andrei Lupu < andrei.lupu@pixelgrade.com>5 * @author Andrei Lupu <euthelup@gmail.com> 6 6 * @license GPL-2.0+ 7 7 * @link http://andrei-lupu.com … … 12 12 * Plugin class. 13 13 * @package CustomBodyClass 14 * @author Andrei Lupu < andrei.lupu@pixelgrade.com>14 * @author Andrei Lupu <euthelup@gmail.com> 15 15 */ 16 16 class CustomBodyClassPlugin { … … 21 21 * @const string 22 22 */ 23 protected $version = '0. 4.0';23 protected $version = '0.5.0'; 24 24 25 25 /** … … 330 330 } 331 331 332 if ( ! empty( $this->plugin_settings['global_class'] ) ) { 333 334 // for the non mobil version you should use the :not() selector 335 if ( wp_is_mobile() ) { 336 $classes[] = sanitize_html_class( 'mobile-' . $this->plugin_settings['global_class'] ); 337 } 338 339 $classes[] = sanitize_html_class( $this->plugin_settings['global_class'] ); 340 } 341 332 342 // return the $classes array 333 343 return $classes; -
wp-custom-body-class/trunk/custom_body_class.php
r1503492 r1783384 1 1 <?php 2 2 /* 3 * @package CustomBodyClass4 * @author PixelGrade <[email protected]>5 * @license GPL-2.0+6 * @link http://andrei-lupu.com7 * @copyright 2014 PixelGrade8 *9 * @wordpress-plugin10 3 Plugin Name: Custom Body Class 11 Plugin URI: http ://andrei-lupu.com4 Plugin URI: https://a.lupu.pro 12 5 Description: A plugin which allows you to add a custom CSS class the HTML body tag 13 Version: 0. 4.06 Version: 0.5.0 14 7 Author: Andrei Lupu 15 Author URI: http ://andrei-lupu.com16 Author Email: andrei.lupu@pixelgrade.com8 Author URI: https://a.lupu.pro 9 Author Email: euthelup@gmail.com 17 10 Text Domain: custom_body_class 18 11 License: GPL-2.0+ -
wp-custom-body-class/trunk/plugin-defaults.php
r1244176 r1783384 8 8 'allow_edit_on_post_page' => 1, 9 9 'enable_autocomplete' => 1, 10 'global_class' => '', 10 11 11 12 ); # config -
wp-custom-body-class/trunk/readme.txt
r1503763 r1783384 2 2 Contributors: euthelup 3 3 Tags: custom, body, css, class 4 Requires at least: 4. 0.05 Tested up to: 4. 6.06 Stable tag: 0. 4.04 Requires at least: 4.7.0 5 Tested up to: 4.9.1 6 Stable tag: 0.5.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 24 24 == Changelog == 25 25 26 = 0.5.0 = 27 * Add an option for a global class 28 26 29 = 0.4.0 = 27 30 * Add support for classes on mobile devices -
wp-custom-body-class/trunk/settings/general.php
r1244176 r1783384 17 17 'desc' => __( 'Would you like to get auto completed values?' ), 18 18 ), 19 20 'global_class' => array( 21 'label' => __( 'Global Class', 'custom_body_class_txtd' ), 22 'default' => '', 23 'type' => 'text', 24 'description' => __( 'If you need a temporary CSS class on the entire website here is the place' ), 25 ), 26 19 27 'display_on_post_types' => array( 20 28 'label' => __( 'Post Types', 'custom_body_class_txtd' ), -
wp-custom-body-class/trunk/views/admin.php
r1207019 r1783384 7 7 * 8 8 * @package PixTypes 9 * @author Andrei Lupu < andrei.lupu@pixelgrade.com>9 * @author Andrei Lupu <euthelup@gmail.com> 10 10 * @license GPL-2.0+ 11 11 * @link http://andrei-lupu.com
Note: See TracChangeset
for help on using the changeset viewer.