tags * * @package Franz Josef * @since Franz Josef 1.8 */ function franz_custom_head_tags(){ global $franz_settings; echo $franz_settings['head_tags']; } add_action( 'wp_head', 'franz_custom_head_tags', 100 ); /** * Sets the various customised styling according to the options set for the theme. * * @param bool $out Whether to echo the styles or not * @param bool $minify Whether to minify the styles or not * @param bool $force_all If set to true, it returns the full generated CSS as it will be in the front end */ function franz_custom_style( $echo = true, $minify = true, $force_all = false ){ if ( ! is_bool( $echo ) ) $echo = true; global $franz_settings; $style = ''; // only get the custom css styles when we're not in the admin mode if ( ! is_admin() || $force_all ) { if ( $franz_settings['custom_css'] ) { $style .= $franz_settings['custom_css']; } } $style = wp_kses( apply_filters( 'franz_custom_style', $style, $echo, $force_all ), array(), array() ); if ( $minify ) $style = franz_minify_css( $style ); if ( $style && $echo ) echo '' . "\n"; else return $style; } add_action( 'wp_head', 'franz_custom_style' );