예제 #1
0
$header_contact_info = xr_get_option('header_contact_info', '');
$use_header_top_2 = false;
//Add Html tags to elements
$logo_html = '<div class="logo-container"><a href="' . (function_exists('icl_get_home_url') ? icl_get_home_url() : get_site_url()) . '"><img src="' . $logo . '" alt="' . get_bloginfo('name') . '" style="max-width:' . xr_get_option('logo_width', '190px') . '; max-height:' . xr_get_option('logo_height', '80px') . '; width:100%;" /></a></div>';
$social_html = '<div class="header-social-container">' . do_shortcode($social_icons['shortcode']) . '</div>';
$header_contact_html = '<div class="header-small-contact">' . $header_contact_info . '</div>';
ob_start();
do_action('icl_language_selector');
$wpml_select = ob_get_contents();
$wpml_select = '<div class="header-wpml-container">' . $wpml_select . '</div>';
ob_get_clean();
$add_woo_icon_to_menu = rockthemes_woocommerce_active() && xr_get_option('add_cart_icon_to_menu', false) ? true : false;
if ($add_woo_icon_to_menu) {
    add_filter('wp_nav_menu_items', 'rockthemes_add_cart_icon_to_menu', 10, 2);
}
$menu_shadow = xr_get_option('activate_menu_bottom_shadow', '1') !== '' ? quasar_image_shadow_down() : '';
/*
**	Header Models
**
**	1	-	Full width menu,	Left Logo,		Right Middle Social Icons,	Right Top Call Us,		Right Bottom WPML
**	2	-	Full width menu,	Centered Logo,	Left Bottom Social Icons,	Left Top Call Us,		Right Top WPML
**	3	-	Right menu,			Left Logo,
**	4	-	Full width menu,	Left Logo,		Right Middle Social Icons,	Right Top Call Us,		Right Bottom WPML
**
**
**
*/
$current_model = (int) xr_get_option('header_model', 1);
$header_return = '';
switch ($current_model) {
    //1	-	Full width menu,	Left Logo,		Right Bottom Social Icons,	Right Top Call Us
예제 #2
0
 */
$full_width_title = true;
?>

<?php 
if ($full_width_title) {
    ?>
<!--Close the row-->
<?php 
}
?>

<div class="quasar-title-breadcrumbs">
	<?php 
if (xr_get_option('title_area_top_shadow', true)) {
    echo quasar_image_shadow_down();
}
?>
	<div class="row">
    	<?php 
if (xr_get_option('deactivate_breadcrumbs', false)) {
    ?>
            <div class="large-12 medium-12 columns">
        <?php 
} else {
    ?>
            <div class="large-7 medium-7 columns">
        <?php 
}
?>
            <h1 class="page-title centered-text-responsive-small">