"; $html .= ""; $html .= ""; $html .= ""; $html .= ""; $html .= ""; return $html; } public static function HeaderStyles( $params ) { WP_Filesystem(); global $wp_filesystem; extract( $params ); $default = ! isset( $params['default'] ) ? 1 : $params['default']; $navheads = scandir( get_template_directory() . '/templates/headers/' ); if ( file_exists( get_stylesheet_directory() . '/templates/headers/' ) ) { $navheads = array_merge( $navheads, scandir( get_stylesheet_directory() . '/templates/headers/' ) ); } $html = ""; return $html; } public static function SidebarDropdown( $params ) { global $wp_registered_sidebars; $sidebars = array(); foreach ( $wp_registered_sidebars as $sidebar ) { $sid = $sidebar['id']; $sidebars[ $sid ] = $sidebar['name']; } $html = ""; return $html; } public static function GetFonts() { $ini_directory = get_template_directory() . '/theme-data/'; $font_array = parse_ini_file( "$ini_directory/fonts.php", true ); return $font_array; } }