Changeset 2575262
- Timestamp:
- 07/30/2021 11:32:05 AM (5 years ago)
- Location:
- oribi-analytics/trunk
- Files:
-
- 3 edited
-
css/style.css (modified) (1 diff)
-
index.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
oribi-analytics/trunk/css/style.css
r2502316 r2575262 168 168 margin-top: 80px; 169 169 } 170 171 #wpfooter { 172 bottom: -200px; 173 } -
oribi-analytics/trunk/index.php
r2565225 r2575262 6 6 * Author: Oribi 7 7 * Author URI: https://oribi.io 8 * Version: 3. 48 * Version: 3.5 9 9 * Text Domain: oribi 10 10 */ … … 15 15 16 16 function oribi_add_stylesheet() { 17 wp_enqueue_style( 'oribi-styles', plugins_url( 'css/style.css', __FILE__ ) ); 18 wp_enqueue_style( 'roboto', 'https://fonts.googleapis.com/css?family=Roboto:400,500' ); 17 if(get_current_screen()->base === 'settings_page_oribi') { 18 wp_enqueue_style('oribi-styles', plugins_url('css/style.css', __FILE__)); 19 wp_enqueue_style('roboto', 'https://fonts.googleapis.com/css?family=Roboto:400,500'); 20 } 19 21 } 20 22 add_action( 'admin_print_styles', 'oribi_add_stylesheet' ); … … 222 224 223 225 public static function trackIntegratePurchase() { 224 if ( function_exists( 'WC' ) ) {226 if ( function_exists( 'WC' ) && !empty(WC()->session)) { 225 227 $data = WC()->session->get( 'trackIntegratePurchase_data' ); 226 228 $user_email = WC()->session->get( 'trackIntegratePurchase_email'); -
oribi-analytics/trunk/readme.txt
r2565225 r2575262 5 5 Requires at least: 5.0 6 6 Tested up to: 5.7.2 7 Stable tag: 3. 47 Stable tag: 3.5 8 8 Requires PHP: 7.0 9 9 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.