예제 #1
0
   function __construct( $registered_settings = array() ) {
	
		$name = __('EPANEL_WP Slides', 'epanel');
		$id = 'slides';
		
		$default_settings = array(
			'description' 	=> 'Homepage Slider Manager - choose the slider type from E-Panel Theme Settings',
			'icon'			=> CORE_IMAGES.'/admin/images-stack.png', 
		);
		
		$settings = wp_parse_args( $registered_settings, $default_settings );
		
		parent::__construct($name, $id, $settings);    
   }
예제 #2
0
   function __construct( $registered_settings = array() ) {
	
		$name = __('EPANEL_WP Scroller', 'epanel');
		$id = 'scroller';
		
		$default_settings = array(
			'description' 	=> 'Homepage Scroller Manager',
			'icon'			=> CORE_IMAGES.'/admin/scroller.png', 
		);
		
		$settings = wp_parse_args( $registered_settings, $default_settings );
		
		parent::__construct($name, $id, $settings);    
   }
예제 #3
0
   function __construct( $registered_settings = array() ) {
	
		$name = __('Bxslider', 'epanel');
		$id = 'bxslider';
		
		$default_settings = array(
			'description' 	=> 'Add additional settings for bx slider',
			'icon'			=> CORE_IMAGES.'/admin/images-stack.png', 
			'dependence'	=> 'EPANEL_WPSlides', 
			'posttype'		=> 'slides',
		);
		
		$settings = wp_parse_args( $registered_settings, $default_settings );
		
		parent::__construct($name, $id, $settings);    
   }
예제 #4
0
   function __construct( $registered_settings = array() ) {
	
		$name = __('Page', 'epanel');
		$id = 'page';
		
		$default_settings = array(
			'description' 	=> 'Add additional settings for pages',
			'icon'			=> CORE_IMAGES.'/admin/page.png', 
			 
			'posttype'		=> array('post', 'page'),
		);
		
		$settings = wp_parse_args( $registered_settings, $default_settings );
		
		parent::__construct($name, $id, $settings);    
   }