function mfn_google_remarketing()
 {
     // google remarketing
     if (mfn_opts_get('google-remarketing')) {
         mfn_opts_show('google-remarketing');
     }
 }
Example #2
0
function mfn_seo()
{
    if (mfn_opts_get('mfn-seo') && mfn_ID()) {
        // description
        if (get_post_meta(mfn_ID(), 'mfn-meta-seo-description', true)) {
            echo '<meta name="description" content="' . stripslashes(get_post_meta(mfn_ID(), 'mfn-meta-seo-description', true)) . '" />' . "\n";
        } elseif (mfn_opts_get('meta-description')) {
            echo '<meta name="description" content="' . stripslashes(mfn_opts_get('meta-description')) . '" />' . "\n";
        }
        // keywords
        if (get_post_meta(mfn_ID(), 'mfn-meta-seo-keywords', true)) {
            echo '<meta name="keywords" content="' . stripslashes(get_post_meta(mfn_ID(), 'mfn-meta-seo-keywords', true)) . '" />' . "\n";
        } elseif (mfn_opts_get('meta-keywords')) {
            echo '<meta name="keywords" content="' . stripslashes(mfn_opts_get('meta-keywords')) . '" />' . "\n";
        }
    }
    // google analytics
    if (mfn_opts_get('google-analytics')) {
        mfn_opts_show('google-analytics');
    }
}
Example #3
0
}
?>
</title>

<!-- stylesheet -->
<link rel="stylesheet" href="<?php 
bloginfo('stylesheet_url');
?>
" media="all" />
<?php 
do_action('wp_styles');
?>

<!-- wp_head() -->
<link rel="shortcut icon" href="<?php 
mfn_opts_show('favicon-img', THEME_URI . '/images/favicon.ico');
?>
" type="image/x-icon" />	

<?php 
if (is_single()) {
    ?>
<script>var switchTo5x=true;</script>
<script src="http://w.sharethis.com/button/buttons.js"></script>
<script>stLight.options({publisher: "ur-6568e777-919c-a5dd-ac31-98a6fa2e6b2d"}); </script>
<?php 
}
do_action('wp_seo');
?>

<?php 
Example #4
0
		</div>
	</div>
	<?php 
}
?>
	
</footer>

</div><!-- #Wrapper -->

<?php 
if (mfn_opts_get('popup-contact-form')) {
    ?>
	<div id="popup_contact">
		<a class="button button_js" href="#"><i class="<?php 
    mfn_opts_show('popup-contact-form-icon', 'icon-mail-line');
    ?>
"></i></a>
		<div class="popup_contact_wrapper">
			<?php 
    echo do_shortcode(mfn_opts_get('popup-contact-form'));
    ?>
			<span class="arrow"></span>
		</div>
	</div>
<?php 
}
?>

<?php 
do_action('mfn_hook_bottom');
	.widget ul.menu li a:hover {
		color: <?php 
mfn_opts_show('color-mfn-menu-link-active', '#fff');
?>
 !important; 
		background: <?php 
mfn_opts_show('background-mfn-menu-link-active', '#3C95B8');
?>
 !important;	
	}
	
/* Slider */
	#mfn-offer-slider ul.slider-wrapper > li .slide-desc h2 {
		color: <?php 
mfn_opts_show('color-slider-title', '#fff');
?>
;
	}
	#mfn-offer-slider ul.slider-wrapper > li .slide-desc p {
		color: <?php 
mfn_opts_show('color-slider-text', '#ddd');
?>
;
	}
	#mfn-offer-slider ul.slider-wrapper > li .slide-desc .button {
		color: <?php 
mfn_opts_show('color-slider-button', '#fff');
?>
;
	}
	
Example #6
0
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
	border-color: <?php 
echo $color_one;
?>
 !important;
}	

	
	
/* ==============================================================================================================================
/*
/*	Responsive																										Responsive
/*
/* ============================================================================================================================ */

<?php 
if (mfn_opts_get('responsive')) {
    ?>

	@media only screen and (max-width: 767px){
		#Top_bar, #Action_bar { background: <?php 
    mfn_opts_show('background-top-left', '#ffffff');
    ?>
 !important;}
	}
	
<?php 
}
?>
	
Example #7
0
<?php 
if (mfn_opts_get('img-subheader-bg')) {
    ?>
	body:not(.template-slider) #Header_wrapper { background-image: url("<?php 
    mfn_opts_show('img-subheader-bg');
    ?>
"); }
<?php 
}
?>

<?php 
if (mfn_opts_get('footer-bg-img')) {
    ?>
	#Footer { background-image: url("<?php 
    mfn_opts_show('footer-bg-img');
    ?>
"); }
<?php 
}
?>

	

/* ==============================================================================================================================
/*
/*	Font | Family																									Font | Family
/*
/* ============================================================================================================================ */

body, button, span.date_label, .timeline_items li h3 span, input[type="submit"], input[type="reset"], input[type="button"],
Example #8
0
    }
    ?>
						<?php 
    if (mfn_opts_get('social-dribbble')) {
        ?>
<li class="dribbble"><a target="_blank" href="<?php 
        mfn_opts_show('social-dribbble');
        ?>
" title="Dribbble"><i class="icon-dribbble"></i></a></li><?php 
    }
    ?>
						<?php 
    if (mfn_opts_get('social-instagram')) {
        ?>
<li class="instagram"><a target="_blank" href="<?php 
        mfn_opts_show('social-instagram');
        ?>
" title="IBS Digital"><img src="http://dermabr.com.br/assinatura.png"></a></li><?php 
    }
    ?>
					</ul>
				</div>
						
			</div>
		</div>
	</div>
	<?php 
}
?>
	
</footer>
Example #9
0
		font-size: <?php 
mfn_opts_show('font-size-h5', '20');
?>
px;
		<?php 
$line_height = mfn_opts_get('font-size-h5', '20') + 2;
?>
		line-height: <?php 
echo $line_height;
?>
px;
	}
	
	h6 {
		font-size: <?php 
mfn_opts_show('font-size-h6', '14');
?>
px;
		<?php 
$line_height = mfn_opts_get('font-size-h6', '14') + 4;
?>
		line-height: <?php 
echo $line_height;
?>
px;
	}
	
/* Footer */
	#Footer {
	    font-size: 90%;
	    line-height: 122%;
mfn_opts_show('border-mfn-menu-link-bottom', '#71B0DC');
?>
;
		border-left-color: <?php 
mfn_opts_show('border-mfn-menu-link', '#24577B');
?>
;
	}
	.widget ul.menu li a i {
		color: <?php 
mfn_opts_show('color-mfn-menu-link', '#fff');
?>
;
	}
	.widget ul.menu li a:hover, .widget ul.menu li.current_page_item a {
		background: <?php 
mfn_opts_show('border-mfn-menu-link', '#24577B');
?>
;
		color: <?php 
mfn_opts_show('color-mfn-menu-link', '#fff');
?>
;
	}
	.widget ul.menu li.current_page_item a i, .widget ul.menu li a:hover i {
		color: <?php 
mfn_opts_show('color-mfn-menu-link', '#fff');
?>
;
	}
Example #11
0
    get_sidebar();
    ?>
		
			</div>
		</div>
	
	<?php 
} else {
    ?>
	
		<div id="Error_404">
			<div class="container">
				<div class="column one">
					<div class="error_pic">
						<i class="<?php 
    mfn_opts_show('error404-icon', 'icon-traffic-cone');
    ?>
"></i>
					</div>
					<div class="error_desk">
						<h2><?php 
    echo $translate['404-title'];
    ?>
</h2>
						<h4><?php 
    echo $translate['404-subtitle'];
    ?>
</h4>
						<p><span class="check"><?php 
    echo $translate['404-text'];
    ?>
    ?>
<li class="behance"><a target="_blank" href="<?php 
    mfn_opts_show('social-behance');
    ?>
" title="Behance"><i class="icon-behance"></i></a></li><?php 
}
?>
				<?php 
if (mfn_opts_get('social-vkontakte')) {
    ?>
<li class="vkontakte"><a target="_blank" href="<?php 
    mfn_opts_show('social-vkontakte');
    ?>
" title="VKontakte"><i class="icon-vkontakte"></i></a></li><?php 
}
?>
				<?php 
if (mfn_opts_get('social-viadeo')) {
    ?>
<li class="viadeo"><a target="_blank" href="<?php 
    mfn_opts_show('social-viadeo');
    ?>
" title="Viadeo"><i class="icon-viadeo"></i></a></li><?php 
}
?>
			</ul>
		</div>
					
	</div>
	
</div>
function mfn_woocommerce_output_content_wrapper_end()
{
    ?>
							</div>
						</div>
					</div>
				</div>
			</div>
			
			<!-- .four-columns - sidebar -->
			<?php 
    if (is_active_sidebar('shop')) {
        ?>
				<div class="four columns">
					<div class="widget-area clearfix <?php 
        mfn_opts_show('sidebar-lines');
        ?>
">
						<?php 
        dynamic_sidebar('shop');
        ?>
					</div>
				</div>
			<?php 
    }
    ?>
	
		</div>
	</div>
	<?php 
}
Example #14
0
                break;
            case 4:
                $sidebar_class = 'one-fourth';
                break;
            default:
                $sidebar_class = 'one';
        }
    }
    ?>
				
				<?php 
    for ($i = 1; $i <= 4; $i++) {
        if (is_active_sidebar('top-area-' . $i)) {
            echo '<div class="' . $sidebar_class . ' column">';
            dynamic_sidebar('top-area-' . $i);
            echo '</div>';
        }
    }
    ?>
		
			</div>
		</div>
		
		<a href="#" class="sliding-top-control"><span><i class="plus <?php 
    mfn_opts_show('sliding-top-icon', 'icon-down-open-mini');
    ?>
"></i><i class="minus icon-up-open-mini"></i></span></a>
	</div>

<?php 
}
/**
 * The Page Sidebar containing the widget area.
 *
 * @package Betheme
 * @author Muffin group
 * @link http://muffingroup.com
 */
$portfolio_page_id = mfn_opts_get('portfolio-page');
$sidebars = mfn_opts_get('sidebars');
$sidebar = get_post_meta($portfolio_page_id, 'mfn-post-sidebar', true);
$sidebar = $sidebars[$sidebar];
?>

<?php 
if (mfn_sidebar_classes()) {
    ?>
<div class="four columns">
	<div class="widget-area clearfix <?php 
    mfn_opts_show('sidebar-lines');
    ?>
">
		<?php 
    if (!dynamic_sidebar($sidebar)) {
        mfn_nosidebar();
    }
    ?>
	</div>
</div>
<?php 
}
    echo '</a>';
}
?>
					
				</div>			
				
				<div class="secondary_menu_wrapper">
					<!-- #secondary-menu -->
					<?php 
mfn_wp_secondary_menu();
?>
				</div>
				
				<div class="banner_wrapper">
					<?php 
mfn_opts_show('header-banner');
?>
				</div>
				
				<div class="search_wrapper">
					<!-- #searchform -->
					<?php 
$translate['search-placeholder'] = mfn_opts_get('translate') ? mfn_opts_get('translate-search-placeholder', 'Enter your search') : __('Enter your search', 'betheme');
?>
					<form method="get" id="searchform" action="<?php 
echo esc_url(home_url('/'));
?>
">
						<?php 
if (mfn_opts_get('header-search') == 'shop') {
    ?>
Example #17
0
			<div class="menu_bottom">
				<?php 
mfn_wp_footer_menu();
?>
			</div>
		</div>
	</div>
	
	<div class="container">
		<div class="column one copyrights">
			<?php 
if (mfn_opts_get('footer-logo-img')) {
    echo '<img src="' . mfn_opts_get("footer-logo-img") . '" alt="" />';
}
if (mfn_opts_get('copyright')) {
    mfn_opts_show('copyright');
} else {
    echo '<p>&copy; 2013 <strong>Bretheon Premium WordPress Theme</strong>. All Rights Reserved.<br />Powered by <a href="http://wordpress.org">WordPress</a>. Created by <a href="http://themeforest.net/user/muffingroup/portfolio?ref=muffingroup">Muffin group</a></p>';
}
?>
			<a id="back_to_top" href="#"><i class="icon-chevron-up"></i></a>
		</div>
	</div>
	
</footer>

<?php 
if (mfn_opts_get('footer-layout', 'separate') == 'included') {
    echo '</div>';
}
?>
}
?>
				<?php 
if (mfn_opts_get('social-viadeo')) {
    ?>
<li class="viadeo"><a target="_blank" href="<?php 
    mfn_opts_show('social-viadeo');
    ?>
" title="Viadeo"><i class="icon-viadeo"></i></a></li><?php 
}
?>
				<?php 
if (mfn_opts_get('social-xing')) {
    ?>
<li class="xing"><a target="_blank" href="<?php 
    mfn_opts_show('social-xing');
    ?>
" title="Xing"><i class="icon-xing"></i></a></li><?php 
}
?>
				<?php 
if (mfn_opts_get('social-rss')) {
    ?>
<li class="rss"><a target="_blank" href="<?php 
    echo get_bloginfo('rss2_url');
    ?>
" title="RSS"><i class="icon-rss"></i></a></li><?php 
}
?>
			</ul>
		</div>
</h2>
										<div class="inside">
											<span class="big"><?php 
mfn_opts_show('construction-text');
?>
</span>
										</div>
									</div>
								</div>
							</div>
							
							<div class="downcount" data-date="<?php 
mfn_opts_show('construction-date');
?>
" data-offset="<?php 
mfn_opts_show('construction-offset');
?>
">
								<div class="column one-fourth column_quick_fact">
									<div class="quick_fact">
										<div data-anim-type="zoomIn" class="animate zoomIn">
											<div class="number days">00</div>
											<h3 class="title"><?php 
echo $translate['days'];
?>
</h3>
											<hr class="hr_narrow">
										</div>
									</div>
								</div>
								<div class="column one-fourth column_quick_fact">
<?php

if (is_front_page()) {
    echo '<h1>';
}
?>
<a id="logo" href="<?php 
echo home_url();
?>
" title="<?php 
bloginfo('name');
?>
">
	<img src="<?php 
mfn_opts_show('logo-img', THEME_URI . '/images/logo.png');
?>
" alt="<?php 
bloginfo('name');
?>
" />
</a>
<?php 
if (is_front_page()) {
    echo '</h1>';
}
    ?>
<li class="linked_in"><a target="_blank" href="<?php 
    mfn_opts_show('social-linkedin');
    ?>
" title="LinkedIn"><i class="icon-linkedin"></i></a></li><?php 
}
?>
				<?php 
if (mfn_opts_get('social-pinterest')) {
    ?>
<li class="pinterest"><a target="_blank" href="<?php 
    mfn_opts_show('social-pinterest');
    ?>
" title="Pinterest"><i class="icon-pinterest"></i></a></li><?php 
}
?>
				<?php 
if (mfn_opts_get('social-dribbble')) {
    ?>
<li class="dribbble"><a target="_blank" href="<?php 
    mfn_opts_show('social-dribbble');
    ?>
" title="Dribbble"><i class="icon-dribbble"></i></a></li><?php 
}
?>
			</ul>
		</div>
					
	</div>
	
</div>
Example #22
0
?>
</title>

<?php 
do_action('wp_seo');
?>

<link rel="shortcut icon" href="<?php 
mfn_opts_show('favicon-img', THEME_URI . '/images/favicon.ico');
?>
" />	
<?php 
if (mfn_opts_get('apple-touch-icon')) {
    ?>
<link rel="apple-touch-icon" href="<?php 
    mfn_opts_show('apple-touch-icon');
    ?>
" />
<?php 
}
?>
	

<!-- wp_head() -->
<?php 
wp_head();
?>
</head>

<!-- body -->
<body <?php 
Example #23
0
function mfn_woocommerce_output_content_wrapper_end()
{
    ?>
							</div>
						</div>
					</div>
				</div>
			</div>
			
			<!-- .four-columns - sidebar -->
			<?php 
    $layout = get_post_meta(mfn_ID(), 'mfn-post-layout', true);
    ?>
			<?php 
    if (is_active_sidebar('shop') && $layout != 'no-sidebar') {
        ?>
				<div class="sidebar four columns">
					<div class="widget-area clearfix <?php 
        mfn_opts_show('sidebar-lines');
        ?>
">
						<?php 
        dynamic_sidebar('shop');
        ?>
					</div>
				</div>
			<?php 
    }
    ?>
	
		</div>
	</div>
	<?php 
}