예제 #1
0
    function avada_secondary_header()
    {
        if (!in_array(Avada()->settings->get('header_layout'), array('v2', 'v3', 'v4', 'v5'))) {
            return;
        }
        ?>
		<?php 
        if ('Leave Empty' != Avada()->settings->get('header_left_content') || 'Leave Empty' != Avada()->settings->get('header_right_content')) {
            ?>
			<?php 
            $content_1 = avada_secondary_header_content('header_left_content');
            ?>
			<?php 
            $content_2 = avada_secondary_header_content('header_right_content');
            ?>

			<div class="fusion-secondary-header">
				<div class="fusion-row">
					<?php 
            if ($content_1) {
                ?>
						<div class="fusion-alignleft"><?php 
                echo $content_1;
                ?>
</div>
					<?php 
            }
            ?>
					<?php 
            if ($content_2) {
                ?>
						<div class="fusion-alignright"><?php 
                echo $content_2;
                ?>
</div>
					<?php 
            }
            ?>
				</div>
			</div>
		<?php 
        }
    }
예제 #2
0
    function avada_secondary_header()
    {
        if (fusion_get_theme_option('header_left_content') != 'Leave Empty' || fusion_get_theme_option('header_right_content') != 'Leave Empty') {
            $content_1 = avada_secondary_header_content('header_left_content');
            $content_2 = avada_secondary_header_content('header_right_content');
            ?>
	<div class="fusion-secondary-header">
		<div class="fusion-row">
			<?php 
            if ($content_1) {
                ?>
				<div class="fusion-alignleft"><?php 
                echo $content_1;
                ?>
</div>
			<?php 
            }
            ?>
			<?php 
            if ($content_2) {
                ?>
				<div class="fusion-alignright"><?php 
                echo $content_2;
                ?>
</div>
			<?php 
            }
            ?>
		</div>
	</div>
	<?php 
        }
    }
예제 #3
0
파일: header.php 프로젝트: baden03/access48
function avada_secondary_header()
{
    if (fusion_get_theme_option('header_left_content') != 'Leave Empty' || fusion_get_theme_option('header_right_content') != 'Leave Empty') {
        $content_1 = avada_secondary_header_content('header_left_content');
        $content_2 = avada_secondary_header_content('header_right_content');
        ?>
<div class="fusion-secondary-header">
	<div class="fusion-row">
		<?php 
        if ($content_1) {
            ?>
			<div class="fusion-alignleft"><?php 
            echo $content_1;
            ?>
</div>
		<?php 
        }
        ?>
	</div>

	<div id="tminus_oder_timer">
		<div class="timer_left ground_shipping"><a href="http://www.access48.com/?p=1351"><img src="http://www.access48.com/wp-content/uploads/2015/06/Free-Ground-Shipping_icon-e1433434304129.jpg" /></div>
		<div class="timer_left the_timer"><a href="http://www.access48.com/?p=741">Order in the next</a></div>
	<?php 
        echo do_shortcode('[tminus cid="1146"]');
        ?>
		<div class="timer_right"><a href="http://www.access48.com/?p=741">and production will begin on <?php 
        echo do_shortcode('[tminus_launch_date cid="1146" format="m-d-Y"]');
        ?>
</a></div>
	</div>
</div>
<?php 
    }
}
예제 #4
0
<?php

$content_1 = avada_secondary_header_content('header_left_content');
$content_2 = avada_secondary_header_content('header_right_content');
?>

<div class="fusion-secondary-header">
	<div class="fusion-row">
		<?php 
if ($content_1) {
    ?>
			<div class="fusion-alignleft"><?php 
    echo $content_1;
    ?>
</div>
		<?php 
}
?>
		<?php 
if ($content_2) {
    ?>
			<div class="fusion-alignright"><?php 
    echo $content_2;
    ?>
</div>
		<?php 
}
?>
	</div>
</div>
예제 #5
0
    function avada_header_1()
    {
        ?>
	<div class="fusion-header-sticky-height"></div>
	<div class="fusion-header">
		<div class="fusion-row">
			<?php 
        avada_logo();
        avada_main_menu();
        //adds top menu below sticky nav
        $content_2 = avada_secondary_header_content('header_right_content');
        echo $content_2;
        ?>
			

		</div>
	</div>
	<?php 
    }