Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct(array('name' => __('Menu', 'themify-flow'), 'slug' => 'menu', 'description' => __('Menu', 'themify-flow'), 'shortcode' => 'tf_menu', 'category' => 'global'));
     include_once dirname(__FILE__) . '/class-menu-dropdown.php';
     add_action('after_setup_theme', array($this, 'register_default_menu_location'));
     add_action('wp_enqueue_scripts', array($this, 'wp_enqueue_scripts'));
     add_action('wp_footer', array($this, 'footer_scripts'), 99);
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     parent::__construct(array('name' => __('Site Tagline', 'themify-flow'), 'slug' => 'site-tagline', 'description' => __('Site tagline module', 'themify-flow'), 'shortcode' => 'tf_site_tagline', 'category' => 'global'));
 }
Ejemplo n.º 3
0
 public function __construct()
 {
     parent::__construct(array('name' => __('Icon', 'themify-flow'), 'slug' => 'icon', 'description' => __('Icon', 'themify-flow'), 'shortcode' => 'tf_icon', 'category' => array('content', 'global')));
 }