public function __construct()
 {
     parent::__construct();
     if (ecwid_page_has_productbrowser()) {
         wp_enqueue_style('ecwid-theme', plugins_url('ecwid-shopping-cart/css/themes/2014.css'), array('twentyfourteen-style'));
     }
 }
 public function __construct()
 {
     parent::__construct();
     if (array_key_exists('_escaped_fragment_', $_GET) && ecwid_page_has_productbrowser()) {
         remove_action('wp_head', 'genesis_canonical', 5);
     }
 }
 public function __construct()
 {
     parent::__construct();
     if (ecwid_page_has_productbrowser()) {
         wp_enqueue_script('ecwid-theme', plugins_url('ecwid-shopping-cart/js/themes/2012.js'), array('jquery'), get_option('ecwid_plugin_version'), true);
     }
 }
 public function __construct()
 {
     parent::__construct();
     if (ecwid_page_has_productbrowser()) {
         wp_enqueue_style('ecwid-theme', plugins_url('ecwid-shopping-cart/css/themes/2015.css'), array('twentyfifteen-style'), get_option('ecwid_plugin_version'));
     }
     add_action('ecwid_plugin_installed', array($this, 'on_ecwid_plugin_installed'));
 }
 public function __construct()
 {
     parent::__construct();
     if ($this->need_advanced_layout()) {
         wp_enqueue_style('ecwid-theme-adjustments', plugins_url('ecwid-shopping-cart/css/themes/responsive-adjustments.css'), array(), false, 'all');
         wp_enqueue_script('ecwid-theme', plugins_url('ecwid-shopping-cart/js/themes/responsive.js'), array('jquery'), false, true);
         add_filter('ecwid_minicart_shortcode_content', array($this, 'minicart_shortcode_content'));
     }
     wp_enqueue_style('ecwid-open-sans', 'http://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin,cyrillic-ext,cyrillic,greek-ext,vietnamese,greek,latin-ext');
     wp_enqueue_style('dashicons');
     wp_enqueue_style('ecwid-theme-fixes', plugins_url('ecwid-shopping-cart/css/themes/responsive.css'), array(), false, 'all');
     add_filter('body_class', array($this, 'body_class'));
     add_action('ecwid_shop_page_created', array($this, 'on_create_store_page'));
     add_action('switch_theme', array($this, 'switch_theme'));
 }
 public function __construct()
 {
     parent::__construct();
     add_filter('ecwid_page_has_product_browser', array($this, 'has_product_browser'));
 }
 public function __construct()
 {
     parent::__construct();
     wp_enqueue_style('ecwid-theme-fixes', plugins_url('ecwid-shopping-cart/css/themes/mantra.css'), array(), get_option('ecwid_plugin_version'), 'all');
 }
 public function __construct()
 {
     parent::__construct();
     wp_enqueue_script('ecwid-theme-js', plugins_url('ecwid-shopping-cart/js/themes/pagelines.js'), array('jquery'), get_option('ecwid_plugin_version'), true);
 }
 public function __construct()
 {
     parent::__construct();
     wp_enqueue_script('ecwid-theme-js', plugins_url('ecwid-shopping-cart/js/themes/customizr.js'), array('jquery'), get_option('ecwid_plugin_version'), true);
     wp_enqueue_style('ecwid-theme-fixes', plugins_url('ecwid-shopping-cart/css/themes/customizr.css'), array(), get_option('ecwid_plugin_version'), 'all');
 }
 public function __construct()
 {
     parent::__construct();
     add_filter('body_class', array($this, 'body_class'));
 }
Example #11
0
 public function __construct()
 {
     parent::__construct();
     wp_enqueue_style('ecwid-theme', 'ecwid-shopping-cart/css/themes/2014.css', array('twentyfourteen-style'));
 }