本文整理汇总了PHP中mfn_opts_show函数的典型用法代码示例。如果您正苦于以下问题:PHP mfn_opts_show函数的具体用法?PHP mfn_opts_show怎么用?PHP mfn_opts_show使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了mfn_opts_show函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: mfn_google_remarketing
function mfn_google_remarketing()
{
// google remarketing
if (mfn_opts_get('google-remarketing')) {
mfn_opts_show('google-remarketing');
}
}
开发者ID:vinodhip,项目名称:Function-22-Website,代码行数:7,代码来源:theme-head.php
示例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');
}
}
开发者ID:plowzzer,项目名称:betheme_derma,代码行数:21,代码来源:theme-head.php
示例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
开发者ID:virendrayadav,项目名称:saielectric,代码行数:31,代码来源:header.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');
开发者ID:nguyenhuusao,项目名称:rang,代码行数:31,代码来源:footer.php
示例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');
?>
;
}
开发者ID:virendrayadav,项目名称:saielectric,代码行数:30,代码来源:style-colors.php
示例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
}
?>
开发者ID:raffe90,项目名称:larapress,代码行数:30,代码来源:style-one.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"],
开发者ID:raffe90,项目名称:larapress,代码行数:31,代码来源:style.php
示例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>
开发者ID:plowzzer,项目名称:betheme_derma,代码行数:31,代码来源:footer.php
示例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%;
开发者ID:virendrayadav,项目名称:saielectric,代码行数:31,代码来源:style.php
示例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');
?>
;
}
开发者ID:RagnarDanneskjold,项目名称:goodbyeloans.com,代码行数:30,代码来源:style-colors.php
示例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'];
?>
开发者ID:chowy1026,项目名称:jenny,代码行数:31,代码来源:404.php
示例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>
开发者ID:JohnPaganella,项目名称:trinkbier,代码行数:31,代码来源:header-creative.php
示例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
}
开发者ID:plowzzer,项目名称:betheme_derma,代码行数:31,代码来源:theme-woocommerce.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
}
开发者ID:chowy1026,项目名称:jenny,代码行数:31,代码来源:header-sliding-area.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
}
开发者ID:plowzzer,项目名称:betheme_derma,代码行数:30,代码来源:sidebar-taxonomy.php
示例16: mfn_wp_secondary_menu
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') {
?>
开发者ID:JohnPaganella,项目名称:trinkbier,代码行数:31,代码来源:header-top-area.php
示例17: mfn_wp_footer_menu
<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>© 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>';
}
?>
开发者ID:virendrayadav,项目名称:saielectric,代码行数:31,代码来源:footer.php
示例18: mfn_opts_show
}
?>
<?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>
开发者ID:tonyvu1985,项目名称:tvcom-demall,代码行数:31,代码来源:header-creative.php
示例19: mfn_opts_show
</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">
开发者ID:plowzzer,项目名称:betheme_derma,代码行数:31,代码来源:under-construction.php
示例20: home_url
<?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>';
}
开发者ID:RagnarDanneskjold,项目名称:goodbyeloans.com,代码行数:25,代码来源:header-logo.php
注:本文中的mfn_opts_show函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论