Пример #1
0
function p2_body_class()
{
    if (is_taxonomy('mentions')) {
        return body_class('mentions');
    }
    return body_class();
}
Пример #2
0
function q21_body_tag()
{
    ?>
	<body <?php 
    body_class('sexy q21');
    ?>
>
<?php 
}
Пример #3
0
    /**
     * Generate Clink countdown page when is needed 
     */
    function clink_page_generator()
    {
        global $clink_url;
        global $post_id;
        $clink_powered_by_text = get_option('clink_powered_by_text');
        $clink_countdown_duration = get_option('clink_countdown_duration');
        if (!is_numeric($clink_countdown_duration) or empty($clink_countdown_duration)) {
            $clink_countdown_duration = 10;
        }
        ?>
		<!DOCTYPE html>
		<html>
			<head>
				<?php 
        echo '<title>' . get_the_title($post_id) . ' - ' . get_bloginfo('name') . '</title>';
        echo '<meta name="robots" content="noindex,nofollow"/>';
        wp_head();
        echo "<script>\n\t\t\t\t\t\tvar countdown_duration =" . $clink_countdown_duration . ";\n\t\t\t\t\t\tvar redirect_target_url ='" . $clink_url . "';\t\t\t\t\t\t\n\t\t\t\t\t</script>";
        ?>
			</head>
			<body <?php 
        body_class(get_bloginfo('language'));
        ?>
 <?php 
        if (is_rtl()) {
            echo 'dir="rtl"';
        }
        ?>
> 
				<div class="clink-page">
					<div class="container">
						<div class="clink-box">
							<p><?php 
        _e('You will redirect to the destination link In a moment', 'aryan-themes');
        ?>
</p>
							<div id="countdown"></div>
							<p class="problem"><?php 
        printf(__('If the page does not redirect automatically, click on <a href="%s">this link</a>', 'aryan-themes'), $clink_url);
        ?>
</p>
						</div>
					</div>
					<?php 
        if ($clink_powered_by_text === "1") {
            echo '<div class="aryan-themes"><p>';
            printf(__('Powered By <a href="%s">Aryan Themes</a>', 'aryan-themes'), 'http://aryanthemes.com');
            echo '</p></div>';
        }
        ?>
				</div>
			</body>
		</html>
	<?php 
    }
Пример #4
0
/**
 * thematic_bodyopen function
 */
function thematic_bodyopen()
{
    if (apply_filters('thematic_show_bodyclass', TRUE)) {
        // Creating the body class
        echo '<body ';
        body_class();
        echo '>' . "\n\n";
    } else {
        echo '<body>' . "\n\n";
    }
}
Пример #5
0
/**
 * Get standard HTML head for user in header.php
 * This function is needed if header.php is used in child themes
 */
function pl_standard_head($content)
{
    ?>
<!DOCTYPE html>
<html class="no-js" <?php 
    language_attributes();
    do_action('the_html_tag');
    ?>
>
    <head>
      <meta http-equiv="Content-Type" content="<?php 
    bloginfo('html_type');
    ?>
; charset=<?php 
    bloginfo('charset');
    ?>
" />
      <?php 
    printf(apply_filters('pl_xfn', '<link rel="profile" href="http://gmpg.org/xfn/11" />' . "\n      "));
    printf(apply_filters('pl_mobile_viewport', '<meta name="viewport" content="width=device-width, initial-scale=1">' . "\n"));
    ?>
      <?php 
    wp_head();
    ?>
    </head>
    <body <?php 
    body_class(pl_scheme_class('site_scheme'));
    ?>
><?php 
    pl_hook('pagelines_before_site');
    ?>
      <div id="site" class="site-wrap" ><?php 
    pl_hook('pagelines_before_page');
    ?>
        <div  class="site-wrap-pad"><?php 
    pl_hook('pagelines_site_wrap');
    ?>
            <div id="page" class="page-wrap"><?php 
    pl_hook('pagelines_page');
    ?>
                <div class="page-wrap-pad"><?php 
    pl_hook('pagelines_before_main');
    ?>

                <?php 
    echo $content;
    ?>

<?php 
}
function thematic_bodyopen()
{
    if (apply_filters('thematic_show_bodyclass', TRUE)) {
        // Creating the body class
        if (!THEMATIC_COMPATIBLE_BODY_CLASS) {
            echo '<body lang="en" ';
            body_class();
            echo '>' . "\n\n";
        } else {
            echo '<body class="';
            thematic_body_class();
            echo '">' . "\n\n";
        }
    } else {
        echo '<body lang="en">' . "\n\n";
    }
}
Пример #7
0
 /**
  * Register a list of functions available into Twig templates.
  * 
  * @return array|\Twig_SimpleFunction[]
  */
 public function getFunctions()
 {
     return [new Twig_SimpleFunction('wp_head', 'wp_head'), new Twig_SimpleFunction('wp_footer', 'wp_footer'), new Twig_SimpleFunction('body_class', function ($class = '') {
         return body_class($class);
     }), new Twig_SimpleFunction('post_class', function ($class = '', $id = null) {
         return post_class($class, $id);
     }), new Twig_SimpleFunction('wpautop', function ($text, $br = true) {
         return wpautop($text, $br);
     }), new Twig_SimpleFunction('wp_trim_words', function ($text, $num_words = 55, $more = null) {
         return wp_trim_words($text, $num_words, $more);
     }), new Twig_SimpleFunction('fn', function ($functionName) {
         $args = func_get_args();
         // By default, the function name should always be the first argument.
         // This remove it from the arguments list.
         array_shift($args);
         if (is_string($functionName)) {
             $functionName = trim($functionName);
         }
         return call_user_func_array($functionName, $args);
     }), new Twig_SimpleFunction('meta', function ($key, $id = null, $context = 'post', $single = true) {
         return meta($key, $id, $context, $single);
     }), new Twig_SimpleFunction('translate', function ($text, $domain = 'default') {
         return translate($text, $domain);
     }), new Twig_SimpleFunction('__', function ($text, $domain = 'default') {
         return __($text, $domain);
     }), new Twig_SimpleFunction('_e', function ($text, $domain = 'default') {
         return _e($text, $domain);
     }), new Twig_SimpleFunction('_n', function ($single, $plural, $number, $domain = 'default') {
         return _n($single, $plural, $number, $domain);
     }), new Twig_SimpleFunction('_x', function ($text, $context, $domain = 'default') {
         return _x($text, $context, $domain);
     }), new Twig_SimpleFunction('_ex', function ($text, $context, $domain = 'default') {
         return _ex($text, $context, $domain);
     }), new Twig_SimpleFunction('_nx', function ($single, $plural, $number, $context, $domain = 'default') {
         return _nx($single, $plural, $number, $context, $domain);
     }), new Twig_SimpleFunction('_n_noop', function ($singular, $plural, $domain = 'default') {
         return _n_noop($singular, $plural, $domain);
     }), new Twig_SimpleFunction('_nx_noop', function ($singular, $plural, $context, $domain = 'default') {
         return _nx_noop($singular, $plural, $context, $domain);
     }), new Twig_SimpleFunction('translate_nooped_plural', function ($nooped_plural, $count, $domain = 'default') {
         return translate_nooped_plural($nooped_plural, $count, $domain);
     })];
 }
Пример #8
0
/**
* Establishes the theme font family.
*
* @since 1.0
*/
function response_font()
{
    global $themeslug, $options;
    //Call global variables
    $family = apply_filters('response_default_font_family', 'Helvetica, serif');
    if ($options->get($themeslug . '_font') == "") {
        $font = apply_filters('response_default_font', 'Arial');
    } else {
        $font = $options->get($themeslug . '_font');
    }
    ?>
	
	<body style="font-family:'<?php 
    echo str_replace("+", " ", $font);
    ?>
', <?php 
    echo $family;
    ?>
" <?php 
    body_class();
    ?>
 > <?php 
}
Пример #9
0
$header_bckOpacity = is_numeric($opValue) ? TRUE : FALSE;
if (is_front_page() && ($header_bckOpacity && intval($opValue) < 100)) {
    $bodyClass .= ' transparent-header';
}
if (is_search()) {
    if ($slayout == 'fullwidth') {
        $bodyClass .= ' fullwidth';
    }
    if ($slayout == 'sidebar-right') {
        $bodyClass .= ' sidebar-right';
    }
}
?>

<body <?php 
body_class($bodyClass);
?>
>
<?php 
$headright_content = get_theme_mod('tesseract_header_right_content');
$wooheader = get_theme_mod('tesseract_woocommerce_headercart') == 1 ? true : false;
$rightclass = '';
if ($headright_content && $headright_content !== 'nothing') {
    $rightclass = $wooheader ? $headright_content . ' is-right is-woo ' : $headright_content . ' is-right no-woo ';
} else {
    if ($headright_content == 'nothing' && $wooheader) {
        $rightclass = $wooheader ? $headright_content . ' no-right is-woo ' : $headright_content . ' no-right no-woo ';
    }
}
$headpos = is_front_page() && ($header_bckOpacity && intval($opValue) < 100) ? 'pos-absolute' : 'pos-relative';
?>
Пример #10
0
            $road_opt['opt-favicon'] = str_replace('http:', 'https:', $road_opt['opt-favicon']);
        }
        ?>
		<link rel="icon" type="image/png" href="<?php 
        echo esc_url($road_opt['opt-favicon']['url']);
        ?>
">
	<?php 
    }
}
wp_head();
?>
</head>

<body <?php 
body_class('home');
?>
>
	<div id="yith-wcwl-popup-message" style="display:none;"><div id="yith-wcwl-message"></div></div>
	<div class="wrapper box-layout">
		<div class="page-wrapper">
			<div class="header-container fourth layout4">
				<?php 
if (isset($road_opt)) {
    ?>
					<div class="top-bar">
						<div class="container">

							<?php 
    if (isset($road_opt['call_us']) && $road_opt['call_us'] != '') {
        ?>
Пример #11
0
<?php

get_template_part('templates/head');
?>
<body <?php 
body_class('');
?>
 >
  <!--[if lt IE 8]><div class="alert alert-warning"><?php 
_e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'roots');
?>
</div><![endif]-->

  <?php 
do_action('get_header');
// Use Bootstrap's navbar if enabled in config.php
if (current_theme_supports('bootstrap-top-navbar')) {
    get_template_part('templates/header-top-navbar');
} else {
    get_template_part('templates/header');
}
?>

  <?php 
// display the Page Take Over if it's enabled
do_action('display_ptko');
?>
    
  <div class="innerbg wrap container" role="document" <?php 
if (is_search()) {
    echo 'style="margin-top:28px;"';
Пример #12
0
    <!-- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> -->
    <?php 
wp_head();
?>
</head>

<?php 
$page_loading = zget_option('show_page_loading', 'general_options') == 'yes' ? 'loading' : '';
$menu_style_color = zget_option('main_menu_color', 'style_options');
if ($menu_style_color !== 'light') {
    $menu_style_color = '';
}
?>

<body <?php 
body_class(array($page_loading, zget_option('menu_style', 'general_options'), $menu_style_color));
?>
>

    <?php 
if (!empty($page_loading)) {
    $alternative_logo = zget_option('logo_alternative', 'general_options');
    ?>

        <div id="loader" class="text-center">
            <?php 
    echo zn_logo($alternative_logo, false, 'h3');
    ?>
            <h2><?php 
    _e('is loading...', 'zn_framework');
    ?>
Пример #13
0
<head>

<meta charset="<?php bloginfo('charset'); ?>" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">

<title><?php wp_title('&#124;', true, 'right'); ?></title>

<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<?php wp_enqueue_style('responsive-style', get_stylesheet_uri(), false, '1.9.3.1');?>

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

<body <?php body_class(); ?>>
                 
<?php responsive_container(); // before container hook ?>
<div id="container" class="hfeed">
         
    <?php responsive_header(); // before header hook ?>
    <div id="header">

		<?php responsive_header_top(); // before header content hook ?>
    
        <?php if (has_nav_menu('top-menu', 'responsive')) { ?>
	        <?php wp_nav_menu(array(
				    'container'       => '',
					'fallback_cb'	  =>  false,
					'menu_class'      => 'top-menu',
					'theme_location'  => 'top-menu')
Пример #14
0
<![endif]>

<!-- START HEAD -->
<head>
    <?php 
do_action('yit_head');
?>
 
    <?php 
wp_head();
?>
</head>
<!-- END HEAD -->
<!-- START BODY -->
<body <?php 
body_class($body_classes);
?>
>
    
    <!-- START BG SHADOW -->
    <div class="bg-shadow">
    
        <?php 
do_action('yit_before_wrapper');
?>
        <!-- START WRAPPER -->
        <div id="wrapper" class="container group">
        	
            <?php 
do_action('yit_before_header');
?>
Пример #15
0
    ?>
)">

<?php 
} else {
    ?>
		<?php 
    if (!is_home()) {
        $home_class = 'menu-color';
    } else {
        $home_class = '';
    }
    ?>

		<body <?php 
    body_class($home_class);
    ?>
 itemscope="itemscope" itemtype="http://schema.org/WebPage">

<?php 
}
if (function_exists('zerif_top_body_trigger')) {
    zerif_top_body_trigger();
}
$minimalzerif_parent_theme = get_template();
if (!empty($minimalzerif_parent_theme) && $minimalzerif_parent_theme == 'zerif-pro') {
    /*************************************************/
    /**************  Background settings *************/
    /*************************************************/
    $zerif_background_settings = get_theme_mod('zerif_background_settings');
    /* Default case when no setting is checked or Slider is selected */
Пример #16
0
wp_title('|', true, 'right');
?>
</title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php 
bloginfo('pingback_url');
?>
" />
<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<?php 
wp_head();
?>
</head>

<body <?php 
body_class('basic');
?>
>

	<div id="page">

<!--		<header class="navbar-inverse navbar navbar-fixed-top" role="navigation">
			<div class="container">
				<div class="navbar-header">
					<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
			          <span class="icon-bar"></span>
			          <span class="icon-bar"></span>
			          <span class="icon-bar"></span>
			        </button>
					<a id="site-title" class="navbar-brand" href="<?php 
echo esc_url(home_url());
Пример #17
0

<!-- Mobile Specific Metas & Favicons
========================================================= -->

<?php if($smof_data['rnr_favicon_url'] != "") { ?><link rel="shortcut icon" href="<?php echo $smof_data['rnr_favicon_url']; ?>"><?php } ?>


<!-- WordPress Stuff
========================================================= -->
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
	<!-- Google Web Fonts -->

 <?php get_template_part( 'includes/googlefonts'); ?>

<?php wp_head(); ?>

</head>

<body <?php body_class('onepage'); ?> data-spy="scroll" data-target=".navigation" data-offset="82">
<div id="load"></div>

 
 
     <!-- START PAGE WRAP -->    
    <div class="page-wrap <?php if($smof_data['rnr_enable_dark_skin'] == true) { echo 'dark-skin'; } ?>">
    
  <!-- HEADER SECTION -->	
 

Пример #18
0
/**
 * bf_body_class() - Semantic Body Class Function
 * 
 * Checks for body_class() function (WordPress 2.8) before running its own.
 * Prints out body semantic class for easy customization using CSS. Based on Sandbox theme.
 * 
 * You can override this using the <b>body_class</b> filter.
 * 
 * @hook	filter	bf_body_class
 * @since	0.5.2
 * @uses	bf_date_classes()
 */
function bf_body_class()
{
    if (function_exists('body_class')) {
        return body_class();
    }
    global $wp_query, $current_user;
    // It's surely a WordPress blog, right?
    $c = array('wordpress');
    // Applies the time- and date-based classes (below) to BODY element
    bf_date_classes(time(), $c);
    // Generic semantic classes for what type of content is displayed
    is_front_page() ? $c[] = 'home' : null;
    // For the front page, if set
    is_home() ? $c[] = 'blog' : null;
    // For the blog posts page, if set
    is_archive() ? $c[] = 'archive' : null;
    is_date() ? $c[] = 'date' : null;
    is_search() ? $c[] = 'search' : null;
    is_paged() ? $c[] = 'paged' : null;
    is_attachment() ? $c[] = 'attachment' : null;
    is_404() ? $c[] = 'four04' : null;
    // CSS does not allow a digit as first character
    // Special classes for BODY element when a single post
    if (is_single()) {
        $postID = $wp_query->post->ID;
        the_post();
        // Adds 'single' class and class with the post ID
        $c[] = 'single postid-' . $postID;
        // Adds classes for the month, day, and hour when the post was published
        if (isset($wp_query->post->post_date)) {
            bf_date_classes(mysql2date('U', $wp_query->post->post_date), $c, 's-');
        }
        // Adds category classes for each category on single posts
        if ($cats = get_the_category()) {
            foreach ($cats as $cat) {
                $c[] = 's-category-' . $cat->slug;
            }
        }
        // Adds tag classes for each tags on single posts
        if ($tags = get_the_tags()) {
            foreach ($tags as $tag) {
                $c[] = 's-tag-' . $tag->slug;
            }
        }
        // Adds MIME-specific classes for attachments
        if (is_attachment()) {
            $mime_type = get_post_mime_type();
            $mime_prefix = array('application/', 'image/', 'text/', 'audio/', 'video/', 'music/');
            $c[] = 'attachmentid-' . $postID . ' attachment-' . str_replace($mime_prefix, "", "{$mime_type}");
        }
        // Adds author class for the post author
        $c[] = 's-author-' . sanitize_title_with_dashes(strtolower(get_the_author_login()));
        rewind_posts();
    } elseif (is_author()) {
        $author = $wp_query->get_queried_object();
        $c[] = 'author';
        $c[] = 'author-' . $author->user_nicename;
    } elseif (is_category()) {
        $cat = $wp_query->get_queried_object();
        $c[] = 'category';
        $c[] = 'category-' . $cat->slug;
    } elseif (is_tag()) {
        $tags = $wp_query->get_queried_object();
        $c[] = 'tag';
        $c[] = 'tag-' . $tags->slug;
    } elseif (is_page()) {
        $pageID = $wp_query->post->ID;
        $page_children = wp_list_pages("child_of={$pageID}&echo=0");
        the_post();
        $c[] = 'page pageid-' . $pageID;
        $c[] = 'page-author-' . sanitize_title_with_dashes(strtolower(get_the_author('login')));
        // Checks to see if the page has children and/or is a child page; props to Adam
        if ($page_children) {
            $c[] = 'page-parent';
        }
        if ($wp_query->post->post_parent) {
            $c[] = 'page-child parent-pageid-' . $wp_query->post->post_parent;
        }
        if (is_page_template()) {
            // Hat tip to Ian, themeshaper.com
            $c[] = 'page-template page-template-' . str_replace('.php', '-php', get_post_meta($pageID, '_wp_page_template', true));
        }
        rewind_posts();
    } elseif (is_search()) {
        the_post();
        if (have_posts()) {
            $c[] = 'search-results';
        } else {
            $c[] = 'search-no-results';
        }
        rewind_posts();
    }
    // For when a visitor is logged in while browsing
    if ($current_user->ID) {
        $c[] = 'loggedin';
    }
    // Paged classes; for 'page X' classes of index, single, etc.
    if ((($page = $wp_query->get('paged')) || ($page = $wp_query->get('page'))) && $page > 1) {
        $c[] = 'paged-' . $page;
        if (is_single()) {
            $c[] = 'single-paged-' . $page;
        } elseif (is_page()) {
            $c[] = 'page-paged-' . $page;
        } elseif (is_category()) {
            $c[] = 'category-paged-' . $page;
        } elseif (is_tag()) {
            $c[] = 'tag-paged-' . $page;
        } elseif (is_date()) {
            $c[] = 'date-paged-' . $page;
        } elseif (is_author()) {
            $c[] = 'author-paged-' . $page;
        } elseif (is_search()) {
            $c[] = 'search-paged-' . $page;
        }
    }
    // Separates classes with a single space, collates classes for BODY
    $c = join(' ', apply_filters('bf_body_class', $c));
    // Available filter: bf_body_class
    // And tada!
    print $c;
}
Пример #19
0
<head>
    <meta charset="<?php 
bloginfo('charset');
?>
">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, maximum-scale=1, initial-scale=1, user-scalable=0">
    <?php 
wp_head();
?>
</head>
<?php 
$body_extra_class = array();
if (ffThemeOptions::getQuery('layout boxed-layout')) {
    $body_extra_class[] = "boxed";
}
?>

<body <?php 
body_class($body_extra_class);
?>
>
<?php 
$body_extra_class = array();
if (ffThemeOptions::getQuery('layout boxed-layout')) {
    ff_load_section_printer('section-background', ffThemeOptions::getQuery('layout background'));
}
?>
	<div id="page-wrapper">
	<?php 
ffContainer()->getThemeFrameworkFactory()->getLayoutsNamespaceFactory()->getLayoutPrinter()->printLayoutHeader()->printLayoutBeforeContent();
Пример #20
0
	
	<link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>

	<?php 
if (is_singular()) {
    wp_enqueue_script('comment-reply');
}
?>

	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>

	<script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>

	<?php 
wp_head();
?>

</head>

<body <?php 
body_class($class);
?>
>



		<?php 
wp_nav_menu(array('theme_location' => 'header-menu', 'container' => false, 'menu_class' => 'nav', 'echo' => true, 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'depth' => 0, 'walker' => new description_walker()));
?>
 <!-- WordPress Menu Structure -->
	<!-- CSS for IE -->
	<!--[if lte IE 9]>
		<link rel="stylesheet" type="text/css" href="css/ie.css" />
	<![endif]-->

	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
	<!--[if lt IE 9]>
	  <script type='text/javascript' src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	  <script type='text/javascript' src="http://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script>
	<![endif]-->
	<?php 
wp_head();
?>
</head>
<body <?php 
body_class(array('soap-login-page', 'style1', 'body-blank'));
?>
>
<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
	<div id="page-wrapper" class="wrapper-blank">
		<header id="header" class="navbar-static-top">
			<a href="#mobile-menu-01" data-toggle="collapse" class="mobile-menu-toggle blue-bg">Mobile Menu Toggle</a>
			<div class="container"><h1 class="logo"></h1></div>
			<!-- mobile menu -->
			<?php 
        if (has_nav_menu('header-menu')) {
            wp_nav_menu(array('theme_location' => 'header-menu', 'container' => 'nav', 'container_class' => 'mobile-menu collapse', 'container_id' => 'mobile-menu-01', 'menu_class' => 'menu', 'menu_id' => 'mobile-primary-menu'));
Пример #22
0
<?php 
wp_head();
?>
</head>

<?php 
if ($theme_option['show_pre'] == 'no') {
    ?>
<body <?php 
    body_class();
    ?>
 ><?php 
} else {
    ?>
<body <?php 
    body_class('royal_loader');
    ?>
 ><?php 
}
?>
	<div id="menu-wrap" class="menu-back cbp-af-header">
			<div class="container">
				<div class="sixteen columns">
				<h1><a href="<?php 
echo esc_url(home_url());
?>
" class="logo" <?php 
if ($theme_option['logo']) {
    ?>
style="background-image: url('<?php 
    echo esc_url($theme_option['logo']['url']);
Пример #23
0
    <![endif]-->
    
    
    <?php 
wp_head();
?>
    <link href="<?php 
bloginfo('stylesheet_url');
?>
" rel="stylesheet">
  </head>
<!-- NAVBAR
================================================== -->

  <body <?php 
body_class('preload');
?>
 id="search-top">
   <div class="skipToContent">
			
				<a href="#skipToContent">Skip To Content</a>
			
  </div>
    
    <header>
  
  <div class="topLinks" id="topMenu">
  	
  	<div class="container">
  		
  		<div class="row">
Пример #24
0
	<?php 
mts_meta();
?>
	<link rel="pingback" href="<?php 
bloginfo('pingback_url');
?>
" />
	<script type="text/javascript">document.documentElement.className = document.documentElement.className.replace( /\bno-js\b/,'js' );</script>


	<?php 
wp_head();
?>
</head>
<body id="blog" <?php 
body_class('main');
?>
 itemscope itemtype="http://schema.org/WebPage">       
	<div class="main-container">
		<header class="main-header" role="banner" itemscope itemtype="http://schema.org/WPHeader">
			<div class="container">
				<div id="header">
					<?php 
if (!empty($mts_options['mts_header_social']) && is_array($mts_options['mts_header_social'])) {
    ?>
						<div class="header-social">
					        <?php 
    foreach ($mts_options['mts_header_social'] as $header_icons) {
        ?>
					            <?php 
        if (!empty($header_icons['mts_header_icon']) && isset($header_icons['mts_header_icon'])) {
Пример #25
0
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
	<?php 
if (is_page_template('template-contact.php')) {
    ?>
		<script src='https://api.mapbox.com/mapbox.js/v2.2.2/mapbox.js'></script>
		<link href='https://api.mapbox.com/mapbox.js/v2.2.2/mapbox.css' rel='stylesheet' />	
	<?php 
}
?>
</head>

<body <?php 
body_class('cbp-spmenu-push');
?>
>

    <!-- Navigation -->
    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation" id="navigate">
        <div class="container">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle c-hamburger c-hamburger--htx" id="showLeftPush">
                    <span>toggle menu</span>
                </button>
                <h1>
                	<a class="navbar-brand" href="<?php 
bloginfo('url');
?>
Пример #26
0
<script type="text/javascript" src="//use.typekit.net/tzl1far.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<!--[if lt IE 9]>
	<link rel="stylesheet" type="text/css" href="<?php 
bloginfo('template_directory');
?>
/ie.css" />
	<script src="<?php 
bloginfo('template_directory');
?>
/_js/html5shiv.js"></script>
<![endif]-->
</head>

<body <?php 
body_class('secure');
?>
>

<svg style="position: absolute; width: 0; height: 0;" width="0" height="0" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
	<defs>
		<symbol id="icon-sort" viewBox="0 0 585 1024">
			<title>sort</title>
			<path class="path1" d="M585.143 621.714q0 14.857-10.857 25.714l-256 256q-10.857 10.857-25.714 10.857t-25.714-10.857l-256-256q-10.857-10.857-10.857-25.714t10.857-25.714 25.714-10.857h512q14.857 0 25.714 10.857t10.857 25.714zM585.143 402.286q0 14.857-10.857 25.714t-25.714 10.857h-512q-14.857 0-25.714-10.857t-10.857-25.714 10.857-25.714l256-256q10.857-10.857 25.714-10.857t25.714 10.857l256 256q10.857 10.857 10.857 25.714z"></path>
		</symbol>
		<symbol id="icon-sort-desc" viewBox="0 0 585 1024">
			<title>sort-desc</title>
			<path class="path1" d="M585.143 621.714q0 14.857-10.857 25.714l-256 256q-10.857 10.857-25.714 10.857t-25.714-10.857l-256-256q-10.857-10.857-10.857-25.714t10.857-25.714 25.714-10.857h512q14.857 0 25.714 10.857t10.857 25.714z"></path>
		</symbol>
		<symbol id="icon-sort-asc" viewBox="0 0 585 1024">
			<title>sort-asc</title>
Пример #27
0
	
	<meta name="viewport" content="width=device-width, minimum-scale=0.25, maximum-scale=1.6, initial-scale=1.0" /> 
	<meta name="apple-mobile-web-app-capable" content="yes" />
	
	<link rel="profile" href="http://gmpg.org/xfn/11">
	<link rel="pingback" href="<?php 
bloginfo('pingback_url');
?>
">
	
	<?php 
wp_head();
?>
</head>
<body <?php 
body_class('cms tokopress-themes sticky-header-yes');
?>
 >
	
<div class="site-container sb-site-container">
	<!-- Top Navigation -->	
	<?php 
if (!of_get_option('topnav_disable')) {
    get_template_part('block-topnav');
}
?>
	<!-- Header Menu-->	
	<?php 
if (!of_get_option('header_disable')) {
    get_template_part('block-header');
}
Пример #28
0
}
if (get_post_meta($post->ID, 'pyre_one_menu', true) != 'default') {
    $one_menu = get_post_meta($post->ID, 'pyre_one_menu', true);
} else {
    $one_menu = '';
}
if (get_post_meta($post->ID, 'pyre_side_menu', true) != 'default') {
    $side_menu = get_post_meta($post->ID, 'pyre_side_menu', true);
} else {
    $side_menu = '';
}
$header_class = $data['enable_sticky'] ? 'sticky_h' : '';
$header_menu_modern = $data['enable_sticky_menu_modern'] ? 'sticky_h_menu' : '';
?>
<body <?php 
body_class($body);
echo $container_style . $body_layout;
?>
>


<!-- side panel usage 
<div class="body-overlay"></div>
<div id="side-panel" class="dark">
    <div id="side-panel-trigger-close" class="side-panel-trigger"><a href="#"><i class="icon-line-cross"></i></a></div>
</div>
side panel usage end -->

	<?php 
if ($boxed && get_post_meta($post->ID, 'pyre_background', true) && get_post_meta($post->ID, 'pyre_en_full_screen', 'no') == 'yes') {
    ?>
Пример #29
0
">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php 
bloginfo('pingback_url');
?>
">

<?php 
wp_head();
?>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
</head>

<body <?php 
body_class();
?>
>
<div id="page" class="site">
	<a class="skip-link screen-reader-text" href="#content"><?php 
esc_html_e('Skip to content', 'wda-theme');
?>
</a>

	<header id="masthead" class="site-header" role="banner">
		<div class="container">
			<div class="site-branding pull-left">
				<?php 
if (is_front_page() && is_home()) {
    ?>
					<h1 class="site-title"><a href="<?php 
Пример #30
0
		<?php 
if (is_singular() && pings_open(get_queried_object())) {
    ?>
			<link rel="pingback" href="<?php 
    bloginfo('pingback_url');
    ?>
">
		<?php 
}
?>
		<?php 
wp_head();
?>
    </head>
    <body id="page-top" <?php 
body_class('index');
?>
>
        <!-- Header Content -->
        <div class="header">
            <div class="header-container">
                <div class="toggle_strip"></div>
                <div id="home" class="top_strip">
                    <div class="container">
                        <div class="row">
                            <div class="col-md-6 col-sm-6">
                                <div class="top_left_contact">
                                    <span class="glyphicon <?php 
echo onepage_get_option('onepage_top_call_us_icon', 'fa fa-phone');
?>
"></span>