sources/style.php
/**
	 * List of header layouts
	 *
	 * @return array
	 */
List of header layouts
@return array
List of header layouts @return array
function silverwp_get_header_layout() {
		$img_uri = \SilverWp\FileSystem::getDirectory( 'image_uri' );
		$layouts = array(
			array(
				'value' => 'image',
				'label' => \SilverWp\Translate::translate( 'Header image' ),
				'img'   => $img_uri . 'admin/layout/header_image.png',
			),
			array(
				'value' => 'slider',
				'label' => \SilverWp\Translate::translate( 'Header slider' ),
				'img'   => $img_uri . 'admin/layout/header_slider.png',
			),
			array(
				'value' => 'titlebar',
				'label' => \SilverWp\Translate::translate( 'Header title bar' ),
				'img'   => $img_uri . 'admin/layout/header_titlebar.png',
			),
			array(
				'value' => 'without',
				'label' => \SilverWp\Translate::translate( 'Without header' ),
				'img'   => $img_uri . 'admin/layout/header_without.png',
			),
		);
		return $layouts;
	}
function silverwp_get_header_layout ( ) { $ img_uri = \ SilverWp \ FileSystem :: getDirectory ( 'image_uri' ) ; $ layouts = array ( array ( 'value' => 'image' , 'label' => \ SilverWp \ Translate :: translate ( 'Header image' ) , 'img' => $ img_uri . 'admin/layout/header_image.png' , ) , array ( 'value' => 'slider' , 'label' => \ SilverWp \ Translate :: translate ( 'Header slider' ) , 'img' => $ img_uri . 'admin/layout/header_slider.png' , ) , array ( 'value' => 'titlebar' , 'label' => \ SilverWp \ Translate :: translate ( 'Header title bar' ) , 'img' => $ img_uri . 'admin/layout/header_titlebar.png' , ) , array ( 'value' => 'without' , 'label' => \ SilverWp \ Translate :: translate ( 'Without header' ) , 'img' => $ img_uri . 'admin/layout/header_without.png' , ) , ) ; return $ layouts ; }
List of header layouts
 @return array
List of header layouts @return array