Google Analytics to your WordPress site. Unlike other plugins, code is added to the <head> section, so you can authorize your site in Google Webmaster Tools. Of course you can also move your tracking code into footer. Author: Lukasz Nowicki Author URI: http://lukasznowicki.info/ Version: 0.6 License: GNU General Public License v2 License URI: https://www.gnu.org/licenses/gpl-2.0.html */ namespace Phylax\Plugin; /** * This software need WP to run, outside it is useless. */ defined('ABSPATH') or die('Run me within WordPress environment.'); define( __NAMESPACE__ . '\PLUGIN_DIR', dirname( __FILE__ ) . DIRECTORY_SEPARATOR ); define( __NAMESPACE__ . '\PLUGIN_FILE', __FILE__ ); define( __NAMESPACE__ . '\PLUGIN_BASE', dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); /** * Include configuration file and installer */ require_once( PLUGIN_DIR . 'inc' . DIRECTORY_SEPARATOR . 'config.php' ); require_once( PLUGIN_DIR . 'inc' . DIRECTORY_SEPARATOR . 'installer.php' ); /** * If user is in the admin area, add options view */ if ( is_admin() ) { require_once( PLUGIN_DIR . 'inc' . DIRECTORY_SEPARATOR . 'options.php' ); } /** * Include and run the plugin! */ require_once( PLUGIN_DIR . 'inc' . DIRECTORY_SEPARATOR . 'plugin.php' ); #die('
Klik'); # EOF