Changeset 3274248
- Timestamp:
- 04/16/2025 07:39:29 AM (10 months ago)
- Location:
- quick-google-analytics/trunk
- Files:
-
- 2 edited
-
quickgoogleanalytics.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
quick-google-analytics/trunk/quickgoogleanalytics.php
r3207224 r3274248 8 8 Author URI: http://www.ericmaechler.com 9 9 Requires at least: 4.0 10 Tested up to: 6. 7.110 Tested up to: 6.8 11 11 */ 12 12 13 if ( ! defined( 'ABSPATH' )) exit; // Exit if accessed directly13 if (! defined('ABSPATH')) exit; // Exit if accessed directly 14 14 15 15 include 'conf.php'; 16 16 17 17 18 //add css 18 function quick_google_analytics_admin_styles() {19 // Prüfe, ob wir uns im Backend befinden 20 // Pfade zur CSS-Datei deines Plugins anpassen21 wp_enqueue_style('quick-google-analytics', plugins_url('style_backend.css', __FILE__)); 22 19 function quick_google_analytics_admin_styles() 20 { 21 // Prüfe, ob wir uns im Backend befinden 22 // Pfade zur CSS-Datei deines Plugins anpassen 23 wp_enqueue_style('quick-google-analytics', plugins_url('style_backend.css', __FILE__)); 23 24 } 24 25 … … 28 29 29 30 30 31 32 33 31 $quickgoogleanalytics_select_active = get_option('quickgoogleanalytics_select'); 34 32 35 if ($quickgoogleanalytics_select_active == '' OR $quickgoogleanalytics_select_active == '1') 36 { 33 if ($quickgoogleanalytics_select_active == '' or $quickgoogleanalytics_select_active == '1') { 37 34 //ga 38 //add code for google analytics 39 include ("shortcode_ga_ua.php"); 35 //add code for google analytics 36 include("shortcode_ga_ua.php"); 37 } elseif ($quickgoogleanalytics_select_active == '2') { 38 //beide 39 //add code for google analytics 40 include("shortcode_ga_ua.php"); 40 41 41 } 42 //add code for google analytcs 4 43 include("shortcode_ga_g.php"); 44 } elseif ($quickgoogleanalytics_select_active == '3') { 42 45 43 elseif ($quickgoogleanalytics_select_active == '2') { 44 //beide 45 //add code for google analytics 46 include ("shortcode_ga_ua.php"); 47 48 //add code for google analytcs 4 49 include ("shortcode_ga_g.php"); 50 } 51 52 elseif ($quickgoogleanalytics_select_active == '3') { 53 54 //add code for google analytcs 4 55 include ("shortcode_ga_g.php"); 56 57 } 58 59 elseif ($quickgoogleanalytics_select_active == '4') { 46 //add code for google analytcs 4 47 include("shortcode_ga_g.php"); 48 } elseif ($quickgoogleanalytics_select_active == '4') { 60 49 //keine 61 50 } 62 63 64 65 66 ?> -
quick-google-analytics/trunk/readme.txt
r3207224 r3274248 5 5 Version: 1.4 6 6 Requires at least: 4.0 7 Tested up to: 6. 7.17 Tested up to: 6.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 15 15 16 16 Add the New gtag.js into your header.php file 17 18 17 19 18 = Features = … … 32 31 == Screenshots == 33 32 34 35 36 33 37 34 == Frequently Asked Questions == 38 35 = Wie merke ich, ob es eine neue Version des Plugins gibt? =
Note: See TracChangeset
for help on using the changeset viewer.