* @copyright Copyright 2014, Chris Aprea * @link http://wpaxl.com/themes/adoration * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; /* Display the masthead logo text.*/ add_action( 'adoration_masthead', 'adoration_masthead_logo', 50 ); /* Display the masthead tagline. */ add_action( 'adoration_masthead', 'adoration_masthead_tagline', 60 ); /* Display the masthead main navigation. */ add_action( 'adoration_masthead', 'adoration_masthead_navigation', 70 ); /* Display the masthead search form. */ add_action( 'adoration_masthead', 'adoration_masthead_search', 80 ); /** * Display the masthead logo text. * * @since 1.0.0 */ function adoration_masthead_logo() { // Allow developers to short-circuit this function. $pre = apply_filters( 'adoration_pre_masthead_logo', false ); if ( false !== $pre ) { echo $pre; return; } ?>

'; $args = array( 'theme_location' => 'primary', 'container' => '', 'fallback_cb' => '', 'items_wrap' => $menu_toggle . $items_wrap ); wp_nav_menu( apply_filters( 'adoration_masthead_navigation_menu_args', $args ) ); } /** * Display the masthead search form. * * @since 1.0.0 */ function adoration_masthead_search() { // Allow developers to short-circuit this function. $pre = apply_filters( 'adoration_pre_masthead_search', false ); if ( false !== $pre ) { echo $pre; return; } ob_start(); ?>