本文整理汇总了PHP中mfn_opts_show函数的典型用法代码示例。如果您正苦于以下问题:PHP mfn_opts_show函数的具体用法?PHP mfn_opts_show怎么用?PHP mfn_opts_show使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了mfn_opts_show函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: mfn_google_remarketing
function mfn_google_remarketing()
{
// google remarketing
if (mfn_opts_get('google-remarketing')) {
mfn_opts_show('google-remarketing');
}
}
示例2: mfn_seo
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');
}
}
示例3: bloginfo
}
?>
</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
示例4: mfn_opts_show
</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');
示例5: mfn_opts_show
.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');
?>
;
}
示例6: and
}
.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
}
?>
示例7: url
<?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"],
示例8: mfn_opts_show
}
?>
<?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>
示例9: mfn_opts_show
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%;
示例10: mfn_opts_show
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');
?>
;
}
示例11: get_sidebar
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'];
?>
示例12: mfn_opts_show
?>
<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>
示例13: mfn_woocommerce_output_content_wrapper_end
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
}
示例14: dynamic_sidebar
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
}
示例15: mfn_opts_get
/**
* 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
}