/** * The default template for displaying content. Used for both single and index/archive/search. * * @package WordPress * @subpackage FAU * @since FAU 1.0 */ global $options; ?> <section id="hero" class="hero-small"> <div class="container"> <div class="row"> <div class="span8"> <?php fau_breadcrumb($options['title_hero_search']); ?> </div> </div> <div class="row"> <div class="span3"> <h1><?php echo $options['title_hero_search']; ?> </h1> </div> <div class="span9"> <label class="unsichtbar" for="suchmaske-hero"><?php _e('Geben Sie hier den Suchbegriff ein', 'fau'); ?> </label>
* @package WordPress * @subpackage FAU * @since FAU 1.0 */ ?> <?php global $options; ?> <section id="hero" class="hero-small"> <div class="container"> <div class="row"> <div class="span12"> <?php fau_breadcrumb(); ?> <div class="hero-meta-portal"> <?php if (get_post_type() == 'page') { $parent = array_reverse(get_post_ancestors(get_the_ID())); if (isset($parent) && is_array($parent) && isset($parent[0])) { $first_parent = get_page($parent[0]); } if (isset($first_parent)) { // && ($first_parent->ID != get_the_ID())) { echo $first_parent->post_title; } } else { if (get_post_type() == 'post') {