PluginProbe
WP Ultimate Post Grid / 1.6
WP Ultimate Post Grid v1.6
4.1.1 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.8 1.9 2.0 2.1 2.2 2.3 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.2 3.0.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 All 32 releases
← All changes | helpers/css.php +0 -10 2.21.6 View file →
@@ -4,9 +4,8 @@
4 4
5 5 public function __construct()
6 6 {
7 7 add_action( 'wp_head', array( $this, 'dropdown_filters_css' ), 19 );
8 - add_action( 'wp_head', array( $this, 'css' ) );
9 8 add_action( 'wp_head', array( $this, 'custom_css' ), 20 );
10 9 }
11 10
12 11 public function dropdown_filters_css()
@@ -32,17 +31,8 @@
32 31
33 32 // Highlight colors
34 33 echo '.select2wpupg-results__option--highlighted { color: '.$text_highlight_color.'!important; background-color: '.$background_highlight_color.'!important; }';
35 34
36 - echo '</style>';
37 - }
38 - }
39 -
40 - public function css()
41 - {
42 - if( WPUltimatePostGrid::option( 'grid_container_animation_speed', '0.8' ) != '0' ) {
43 - echo '<style type="text/css">';
44 - echo '.wpupg-grid { transition: height ' . WPUltimatePostGrid::option( 'grid_container_animation_speed', '0.8' ) . 's; }';
45 35 echo '</style>';
46 36 }
47 37 }
48 38