• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP zerif_slug_fonts_url函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中zerif_slug_fonts_url函数的典型用法代码示例。如果您正苦于以下问题:PHP zerif_slug_fonts_url函数的具体用法?PHP zerif_slug_fonts_url怎么用?PHP zerif_slug_fonts_url使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了zerif_slug_fonts_url函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。

示例1: zerif_scripts

function zerif_scripts()
{
    wp_enqueue_style('zerif_font', zerif_slug_fonts_url(), array(), null);
    wp_enqueue_style('zerif_font_all', '//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600italic,600,700,700italic,800,800italic');
    wp_enqueue_style('zerif_bootstrap_style', get_template_directory_uri() . '/assets/css/bootstrap.css');
    wp_style_add_data('zerif_bootstrap_style', 'rtl', 'replace');
    wp_enqueue_style('zerif_fontawesome', get_template_directory_uri() . '/assets/css/font-awesome.min.css', array(), 'v1');
    wp_enqueue_style('zerif_pixeden_style', get_template_directory_uri() . '/assets/css/pixeden-icons.css', array('zerif_fontawesome'), 'v1');
    wp_enqueue_style('zerif_style', get_stylesheet_uri(), array('zerif_pixeden_style'), 'v1');
    wp_enqueue_style('zerif_responsive_style', get_template_directory_uri() . '/assets/css/responsive.css', array('zerif_style'), 'v1');
    if (wp_is_mobile()) {
        wp_enqueue_style('zerif_style_mobile', get_template_directory_uri() . '/assets/css/style-mobile.css', array('zerif_bootstrap_style', 'zerif_style'), 'v1');
    }
    wp_enqueue_script('jquery');
    wp_enqueue_script('zerif_bootstrap_script', get_template_directory_uri() . '/assets/js/bootstrap.min.js', array(), '20120206', true);
    wp_enqueue_script('zerif_knob_nav', get_template_directory_uri() . '/assets/js/jquery.knob.js', array("jquery"), '20120206', true);
    wp_enqueue_script('zerif_smoothscroll', get_template_directory_uri() . '/assets/js/smoothscroll.js', array("jquery"), '20120206', true);
    if (!wp_is_mobile()) {
        wp_enqueue_script('zerif_scrollReveal_script', get_template_directory_uri() . '/assets/js/scrollReveal.js', array("jquery"), '20120206', true);
    }
    wp_enqueue_script('zerif_script', get_template_directory_uri() . '/assets/js/zerif.js', array("jquery", "zerif_knob_nav"), '20120206', true);
    if (is_singular() && comments_open() && get_option('thread_comments')) {
        wp_enqueue_script('comment-reply');
    }
}
开发者ID:selique,项目名称:dev-site,代码行数:25,代码来源:functions.php


示例2: zerif_scripts

/**
 * Enqueue scripts and styles.
 */
function zerif_scripts()
{
    wp_enqueue_style('zerif_font', zerif_slug_fonts_url(), array(), null);
    wp_enqueue_style('zerif_font_all', '//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600italic,600,700,700italic,800,800italic');
    wp_enqueue_style('zerif_bootstrap_style', get_template_directory_uri() . '/css/bootstrap.css');
    wp_style_add_data('zerif_bootstrap_style', 'rtl', 'replace');
    wp_enqueue_style('zerif_fontawesome', get_template_directory_uri() . '/css/font-awesome.min.css', array(), 'v1');
    wp_enqueue_style('zerif_pixeden_style', get_template_directory_uri() . '/css/pixeden-icons.css', array('zerif_fontawesome'), 'v1');
    wp_enqueue_style('zerif_style', get_stylesheet_uri(), array('zerif_pixeden_style'), 'v1');
    wp_enqueue_style('zerif_responsive_style', get_template_directory_uri() . '/css/responsive.css', array('zerif_style'), 'v1');
    if (wp_is_mobile()) {
        wp_enqueue_style('zerif_style_mobile', get_template_directory_uri() . '/css/style-mobile.css', array('zerif_bootstrap_style', 'zerif_style'), 'v1');
    }
    wp_enqueue_script('jquery');
    /* Bootstrap script */
    wp_enqueue_script('zerif_bootstrap_script', get_template_directory_uri() . '/js/bootstrap.min.js', array(), '20120206', true);
    /* Knob script */
    wp_enqueue_script('zerif_knob_nav', get_template_directory_uri() . '/js/jquery.knob.js', array("jquery"), '20120206', true);
    /* Smootscroll script */
    $zerif_disable_smooth_scroll = get_theme_mod('zerif_disable_smooth_scroll');
    if (isset($zerif_disable_smooth_scroll) && $zerif_disable_smooth_scroll != 1) {
        wp_enqueue_script('zerif_smoothscroll', get_template_directory_uri() . '/js/smoothscroll.js', array("jquery"), '20120206', true);
    }
    /* scrollReveal script */
    if (!wp_is_mobile()) {
        wp_enqueue_script('zerif_scrollReveal_script', get_template_directory_uri() . '/js/scrollReveal.js', array("jquery"), '20120206', true);
    }
    /* zerif script */
    wp_enqueue_script('zerif_script', get_template_directory_uri() . '/js/zerif.js', array("jquery", "zerif_knob_nav"), '20120206', true);
    if (is_singular() && comments_open() && get_option('thread_comments')) {
        wp_enqueue_script('comment-reply');
    }
    /* parallax effect */
    if (!wp_is_mobile()) {
        /* include parallax only if on frontpage and the parallax effect is activated */
        $zerif_parallax_use = get_theme_mod('zerif_parallax_show');
        if (!empty($zerif_parallax_use) && $zerif_parallax_use == 1 && is_front_page()) {
            wp_enqueue_script('zerif_parallax', get_template_directory_uri() . '/js/parallax.js', array("jquery"), 'v1', true);
        }
    }
    add_editor_style('/css/custom-editor-style.css');
}
开发者ID:Vibeosys,项目名称:VibeosysWeb,代码行数:45,代码来源:functions.php


示例3: zerif_scripts

/**
 * Enqueue scripts and styles.
 */
function zerif_scripts()
{
    wp_enqueue_style('zerif_font', zerif_slug_fonts_url(), array(), null);
    wp_enqueue_style('zerif_font_all', '//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600italic,600,700,700italic,800,800italic');
    wp_enqueue_style('zerif_font_add', '//fonts.googleapis.com/css?family=Muli:400,300,300italic');
    //custom fonts
    wp_enqueue_style('zerif_font_custom_neo_eot', get_template_directory_uri() . '/fonts/NeoSansPro-Bold.eot', array(), 'v1');
    wp_enqueue_style('zerif_font_custom_neo_svg', get_template_directory_uri() . '/fonts/NeoSansPro-Bold.svg', array(), 'v1');
    wp_enqueue_style('zerif_font_custom_neo_ttf', get_template_directory_uri() . '/fonts/NeoSansPro-Bold.ttf', array(), 'v1');
    wp_enqueue_style('zerif_font_custom_neo_woff', get_template_directory_uri() . '/fonts/NeoSansPro-Bold.woff', array(), 'v1');
    wp_enqueue_style('zerif_bootstrap_style', get_template_directory_uri() . '/css/bootstrap.css');
    wp_style_add_data('zerif_bootstrap_style', 'rtl', 'replace');
    wp_enqueue_style('zerif_fontawesome', get_template_directory_uri() . '/css/font-awesome.min.css', array(), 'v1');
    wp_enqueue_style('zerif_style_main', get_template_directory_uri() . '/css/style.min.css', array(), 'v1');
    //additional css
    wp_enqueue_style('zerif_style_additional', get_template_directory_uri() . '/css/add-style.css', array(), 'v1');
    wp_enqueue_style('zerif_pixeden_style', get_template_directory_uri() . '/css/pixeden-icons.css', array('zerif_fontawesome'), 'v1');
    wp_enqueue_style('zerif_style', get_stylesheet_uri(), array('zerif_pixeden_style'), 'v1');
    wp_enqueue_style('zerif_responsive_style', get_template_directory_uri() . '/css/responsive.css', array('zerif_style'), 'v1');
    if (wp_is_mobile()) {
        wp_enqueue_style('zerif_style_mobile', get_template_directory_uri() . '/css/style-mobile.css', array('zerif_bootstrap_style', 'zerif_style'), 'v1');
    }
    wp_enqueue_script('jquery');
    /* Bootstrap script */
    wp_enqueue_script('zerif_bootstrap_script', get_template_directory_uri() . '/js/bootstrap.min.js', array(), '20120206', true);
    /* Knob script */
    wp_enqueue_script('zerif_knob_nav', get_template_directory_uri() . '/js/jquery.knob.js', array("jquery"), '20120206', true);
    /* Smootscroll script */
    $zerif_disable_smooth_scroll = get_theme_mod('zerif_disable_smooth_scroll');
    if (isset($zerif_disable_smooth_scroll) && $zerif_disable_smooth_scroll != 1) {
        wp_enqueue_script('zerif_smoothscroll', get_template_directory_uri() . '/js/smoothscroll.js', array("jquery"), '20120206', true);
    }
    /* scrollReveal script */
    if (!wp_is_mobile()) {
        wp_enqueue_script('zerif_scrollReveal_script', get_template_directory_uri() . '/js/scrollReveal.js', array("jquery"), '20120206', true);
    }
    /* zerif script */
    wp_enqueue_script('zerif_script', get_template_directory_uri() . '/js/zerif.js', array("jquery", "zerif_knob_nav"), '20120206', true);
    if (is_singular() && comments_open() && get_option('thread_comments')) {
        wp_enqueue_script('comment-reply');
    }
    add_editor_style('/css/custom-editor-style.css');
}
开发者ID:NickTaporuk,项目名称:cd,代码行数:46,代码来源:functions.php


示例4: zerif_scripts

/**
 * Enqueue scripts and styles.
 */
function zerif_scripts()
{
    wp_enqueue_style('zerif_font', zerif_slug_fonts_url(), array(), null);
    wp_enqueue_style('zerif_bootstrap_style', get_template_directory_uri() . '/css/bootstrap.css');
    wp_style_add_data('zerif_bootstrap_style', 'rtl', 'replace');
    wp_enqueue_style('zerif_owl_theme_style', get_template_directory_uri() . '/css/owl.theme.css', array('zerif_bootstrap_style'), 'v1');
    wp_enqueue_style('zerif_owl_carousel_style', get_template_directory_uri() . '/css/owl.carousel.css', array('zerif_owl_theme_style'), 'v1');
    wp_enqueue_style('zerif_vegas_style', get_template_directory_uri() . '/css/jquery.vegas.min.css', array('zerif_owl_carousel_style'), 'v1');
    wp_enqueue_style('zerif_fontawesome', get_template_directory_uri() . '/css/font-awesome.min.css', array('zerif_vegas_style'), 'v1');
    wp_enqueue_style('zerif_pixeden_style', get_template_directory_uri() . '/css/pixeden-icons.css', array('zerif_fontawesome'), 'v1');
    wp_enqueue_style('zerif_style', get_stylesheet_uri(), array('zerif_pixeden_style'), 'v1');
    wp_enqueue_style('zerif_responsive_style', get_template_directory_uri() . '/css/responsive.css', array('zerif_style'), 'v1');
    if (wp_is_mobile()) {
        wp_enqueue_style('zerif_style_mobile', get_template_directory_uri() . '/css/style-mobile.css', array('zerif_bootstrap_style', 'zerif_style'), 'v1');
    }
    wp_enqueue_script('jquery');
    /* Bootstrap script */
    wp_enqueue_script('zerif_bootstrap_script', get_template_directory_uri() . '/js/bootstrap.min.js', array(), '20120206', true);
    /* ScrollTo script */
    wp_enqueue_script('zerif_scrollTo', get_template_directory_uri() . '/js/jquery.scrollTo.min.js', array("jquery"), '20120206', true);
    /* jQuery.nav script */
    wp_enqueue_script('zerif_jquery_nav', get_template_directory_uri() . '/js/jquery.nav.js', array("jquery"), '20120206', true);
    /* Knob script */
    wp_enqueue_script('zerif_knob_nav', get_template_directory_uri() . '/js/jquery.knob.js', array("jquery"), '20120206', true);
    /* Owl carousel script */
    wp_enqueue_script('zerif_owl_carousel', get_template_directory_uri() . '/js/owl.carousel.min.js', array("jquery"), '20120206', true);
    /* Smootscroll script */
    wp_enqueue_script('zerif_smoothscroll', get_template_directory_uri() . '/js/smoothscroll.js', array("jquery"), '20120206', true);
    /* Vegas script */
    wp_enqueue_script('zerif_vegas_script', get_template_directory_uri() . '/js/jquery.vegas.min.js', array("jquery"), '20120206', true);
    /* scrollReveal script */
    if (!wp_is_mobile()) {
        wp_enqueue_script('zerif_scrollReveal_script', get_template_directory_uri() . '/js/scrollReveal.js', array("jquery"), '20120206', true);
    }
    /* zerif script */
    wp_enqueue_script('zerif_script', get_template_directory_uri() . '/js/zerif.js', array("jquery", "zerif_knob_nav"), '20120206', true);
    wp_enqueue_script('justifyblog-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20120206', true);
    wp_enqueue_script('justifyblog-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true);
    wp_enqueue_script('zerif-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true);
    if (is_singular() && comments_open() && get_option('thread_comments')) {
        wp_enqueue_script('comment-reply');
    }
    add_editor_style('/css/custom-editor-style.css');
}
开发者ID:razeenmk,项目名称:quotekart,代码行数:47,代码来源:functions.php


示例5: zerif_scripts

/**
 * Enqueue scripts and styles.
 */
function zerif_scripts()
{
    wp_enqueue_style('zerif_font', zerif_slug_fonts_url(), array(), null);
    wp_enqueue_style('zerif_font_all', '//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600italic,600,700,700italic,800,800italic');
    wp_enqueue_style('zerif_bootstrap_style', get_template_directory_uri() . '/css/bootstrap.css');
    wp_style_add_data('zerif_bootstrap_style', 'rtl', 'replace');
    wp_enqueue_style('zerif_fontawesome', get_template_directory_uri() . '/css/font-awesome.min.css', array(), 'v1');
    wp_enqueue_style('zerif_pixeden_style', get_template_directory_uri() . '/css/pixeden-icons.css', array('zerif_fontawesome'), 'v1');
    wp_enqueue_style('zerif_style', get_stylesheet_uri(), array('zerif_pixeden_style'), 'v1');
    wp_enqueue_style('zerif_responsive_style', get_template_directory_uri() . '/css/responsive.css', array('zerif_style'), 'v1');
    if (wp_is_mobile()) {
        wp_enqueue_style('zerif_style_mobile', get_template_directory_uri() . '/css/style-mobile.css', array('zerif_bootstrap_style', 'zerif_style'), 'v1');
    }
    wp_enqueue_script('jquery');
    /* Bootstrap script */
    wp_enqueue_script('zerif_bootstrap_script', get_template_directory_uri() . '/js/bootstrap.min.js', array(), '20120206', true);
    /* Knob script */
    wp_enqueue_script('zerif_knob_nav', get_template_directory_uri() . '/js/jquery.knob.js', array("jquery"), '20120206', true);
    /* Smootscroll script */
    $zerif_disable_smooth_scroll = get_theme_mod('zerif_disable_smooth_scroll');
    if (isset($zerif_disable_smooth_scroll) && $zerif_disable_smooth_scroll != 1) {
        wp_enqueue_script('zerif_smoothscroll', get_template_directory_uri() . '/js/smoothscroll.js', array("jquery"), '20120206', true);
    }
    /* scrollReveal script */
    if (!wp_is_mobile()) {
        wp_enqueue_script('zerif_scrollReveal_script', get_template_directory_uri() . '/js/scrollReveal.js', array("jquery"), '20120206', true);
    }
    /* zerif script */
    wp_enqueue_script('zerif_script', get_template_directory_uri() . '/js/zerif.js', array("jquery", "zerif_knob_nav"), '20120206', true);
    if (is_singular() && comments_open() && get_option('thread_comments')) {
        wp_enqueue_script('comment-reply');
    }
    /* Custom css merged from previous theme (mostly for explore-the-region page), delete as necessary */
    wp_enqueue_style('nditheme-style', get_template_directory_uri() . '/css/nditheme-style.css');
    wp_enqueue_style('cl-style', get_template_directory_uri() . '/login-content/style.css');
    /* Custom scripts for Google maps */
    wp_enqueue_script('google-maps', 'https://maps.googleapis.com/maps/api/js?key=AIzaSyCfLRltTq4OUygsvaeQ-GA3Q0-djHX2QJk&callback=initialize', array(), null, true);
    wp_enqueue_script('scripts', get_template_directory_uri() . '/js/scripts.js', array(), null, true);
    add_editor_style('/css/custom-editor-style.css');
}
开发者ID:nxho,项目名称:newdayint,代码行数:43,代码来源:functions.php



注:本文中的zerif_slug_fonts_url函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP zeroise函数代码示例发布时间:2022-05-23
下一篇:
PHP zerif_posted_on函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap