Beispiel #1
0
    $qodeIconCollections->getSearchIcon(qodef_option_get_value('search_icon_pack'));
    ?>
                                </a>
							</div>	
						</form>
					</div>
				</div>
			</div>
		</div>
	<?php 
}
?>

    <?php 
$content_class = "";
if (get_post_meta($id, "qode_revolution-slider", true) == "" && qode_is_title_hidden() && !is_category() && !is_tag() && !is_author() && (isset($qode_options_proya['enable_google_map']) && ($header_transparency === '' || $header_transparency == 1)) || qode_is_content_below_header()) {
    if ($qode_options_proya['header_bottom_appearance'] == "fixed" || $qode_options_proya['header_bottom_appearance'] == "fixed fixed_minimal") {
        $content_class = "content_top_margin";
    } elseif (qode_is_content_below_header() && $qode_options_proya['header_bottom_appearance'] == "fixed_hiding") {
        $content_class = "content_top_margin";
    } else {
        $content_class = "content_top_margin_none";
    }
}
if (get_post_meta($id, "qode_revolution-slider", true) != "") {
    $content_class .= " has_slider";
}
?>

	<?php 
if (isset($qode_options_proya['header_bottom_appearance']) && ($qode_options_proya['header_bottom_appearance'] == "stick" || $qode_options_proya['header_bottom_appearance'] == "stick menu_bottom" || $qode_options_proya['header_bottom_appearance'] == "stick_with_left_right_menu")) {
Beispiel #2
0
 /**
  * Function that adds class to body element if title is hidden for current page
  * @param $classes array of currently added classes for body element
  * @return array array of modified classes
  */
 function qode_hidden_title_body_class($classes)
 {
     $page_id = qode_get_page_id();
     if ($page_id) {
         if (qode_is_title_hidden()) {
             $classes[] = 'qode-title-hidden';
         }
     }
     return $classes;
 }
Beispiel #3
0
        $page_title_breadcrumbs_data_end = $qode_options_proya['page_title_breadcrumbs_data_end'];
    } elseif (get_post_meta($id, 'page_page_title_breadcrumbs_data_end', true) !== '') {
        $page_title_breadcrumbs_data_end = get_post_meta($id, 'page_page_title_breadcrumbs_data_end', true);
    }
    if (get_post_meta($id, 'page_page_title_breadcrumbs_end_custom_style', true) == '' && isset($qode_options_proya['page_title_breadcrumbs_end_custom_style']) && $qode_options_proya['page_title_breadcrumbs_end_custom_style'] !== '') {
        $page_title_breadcrumbs_end_custom_style = $qode_options_proya['page_title_breadcrumbs_end_custom_style'];
    } elseif (get_post_meta($id, 'page_page_title_breadcrumbs_end_custom_style', true) !== '') {
        $page_title_breadcrumbs_end_custom_style = get_post_meta($id, 'page_page_title_breadcrumbs_end_custom_style', true);
    }
    $page_title_breadcrumbs_animation_data = ' data-' . $page_title_breadcrumbs_data_start . '="' . $page_title_breadcrumbs_start_custom_style . '" data-' . $page_title_breadcrumbs_data_end . '="' . $page_title_breadcrumbs_end_custom_style . '"';
}
$animation = '';
if ($title_content_animation == 'yes' || $title_animation == 'yes' || $separator_animation == 'yes' || $subtitle_animation == 'yes' || $breadcrumbs_animation == 'yes') {
    $animation = 'data-animation="yes"';
}
if (!qode_is_title_hidden()) {
    ?>
	<div class="title_outer <?php 
    echo $animate_title_class . $title_text_shadow;
    if ($responsive_title_image == 'yes' && $show_title_image == true) {
        echo ' with_image';
    }
    ?>
"  <?php 
    print $animation;
    ?>
  <?php 
    echo 'data-height="' . $title_height . '"';
    if ($title_height != '' && $animate_title_area == 'area_top_bottom') {
        echo 'style="opacity:0;height:' . $header_height_padding . 'px;"';
    }