Пример #1
0
<?php

$ST_core = new ST_core();
global $post, $fixed;
?>
<header role="banner" class="main-header header-third <?php 
if (!empty($fixed)) {
    echo $fixed;
}
?>
">
        	<?php 
if (get_post_meta(get_the_ID(), 'show_header_top', true) == 'on') {
    get_template_part('section/header/header', 'top');
} elseif (get_post_meta($post->ID, 'show_header_top', true) == 'off') {
} elseif (ot_get_option('header_top') == 'show') {
    get_template_part('section/header/header', 'top');
}
?>
            
			<div class="navbar navbar-default header-height">
				<div class="container">
          
					<div class="navbar-header">
						<?php 
get_template_part('section/header/header', 'logo');
?>
					</div>

					<div class="collapse navbar-collapse navbar-responsive-collapse">
						<?php 
Пример #2
0
<?php

if (class_exists('ST_core')) {
    $ST_core = new ST_core();
}
$Portfolio_sec_title = get_post_meta($post->ID, 'Portfolio_sec_title', true);
$Portfolio_sec_text = get_post_meta($post->ID, 'Portfolio_sec_text', true);
$active_category_filter = get_post_meta($post->ID, 'active_category_filter', true);
$select_column_Portfolio = $ST_core->layout_setting_front_end(get_the_ID(), 'select_column_Portfolio');
$ind_Portfolio_number = get_post_meta($post->ID, 'ind_Portfolio_number', true);
$ind_Portfolio_number_load = get_post_meta($post->ID, 'ind_Portfolio_number_load', true);
$background = get_post_meta($post->ID, 'por_bg', true);
if (!empty($background)) {
    $background_color = $background['background-color'] != '' ? $background['background-color'] . ' ' : '';
    $background_image = $background['background-image'] != '' ? 'url(' . $background['background-image'] . ') ' : '';
    $background_repeat = $background['background-repeat'] != '' ? $background['background-repeat'] . ' ' : '';
    $background_positon = $background['background-position'] != '' ? $background['background-position'] . ' ' : '';
    $background_attachment = $background['background-attachment'] != '' ? $background['background-attachment'] . ' ' : '';
    $background_size = $background['background-size'] != '' ? 'background-size: ' . $background['background-size'] . ';' : '';
}
$html .= '<section id="portfolio" class="gray-bg padding-top-bottom" style="background: ' . $background_color . $background_image . $background_repeat . $background_attachment . $background_positon . ';' . "\n" . $background_size . '; ">' . "\n";
$html .= '		<div class="container">' . "\n";
if ($Portfolio_sec_title) {
    $html .= '<h1 class="section-title" id="move-title">' . $Portfolio_sec_title . '</h1>' . "\n";
}
if ($active_category_filter) {
    $html .= '<p class="section-description">' . $Portfolio_sec_text . '</p>' . "\n";
}
if ($active_category_filter) {
    $html .= '            <!--==== Portfolio Filters ====-->' . "\n";
    $html .= '			<div id="filter-works">' . "\n";
Пример #3
0
<?php

if (class_exists('ST_core')) {
    $ST_core = new ST_core();
}
$feature_sec_title = get_post_meta($post->ID, 'feature_sec_title', true);
$feature_sec_title = get_post_meta($post->ID, 'feature_sec_title', true);
$feature_sec_text = get_post_meta($post->ID, 'feature_sec_text', true);
$add_features = get_post_meta($post->ID, 'add_feature', true);
$ind_feature_title_ltd = get_post_meta($post->ID, 'ind_feature_title_ltd', true);
$ind_feature_text_ltd = get_post_meta($post->ID, 'ind_feature_text_ltd', true);
$show_feature_text = get_post_meta($post->ID, 'show_feature_text', true);
$show_feature_title = get_post_meta($post->ID, 'show_feature_title', true);
$feature_title_color = get_post_meta($post->ID, 'featured_tit_color', true);
$featured_link_color = get_post_meta($post->ID, 'featured_link_color', true);
$background = get_post_meta($post->ID, 'featured_bg', true);
if (!empty($background)) {
    $background_color = $background['background-color'] != '' ? $background['background-color'] . ' ' : '';
    $background_image = $background['background-image'] != '' ? 'url(' . $background['background-image'] . ') ' : '';
    $background_repeat = $background['background-repeat'] != '' ? $background['background-repeat'] . ' ' : '';
    $background_positon = $background['background-position'] != '' ? $background['background-position'] . ' ' : '';
    $background_attachment = $background['background-attachment'] != '' ? $background['background-attachment'] . ' ' : '';
    $background_size = $background['background-size'] != '' ? 'background-size: ' . $background['background-size'] . ';' : '';
}
$html = '' . "\n";
$html .= '<section id="about" class="gray-bg padding-top-bottom section-features" style="background: ' . $background_color . $background_image . $background_repeat . $background_attachment . $background_positon . ';' . "\n" . $background_size . '">' . "\n";
$html .= '            <div class="container features">' . "\n";
if ($feature_sec_title) {
    $html .= '<h1 class="section-title" style="color:' . $feature_title_color . '">' . translate($feature_sec_title, "SimThemes") . '</h1>' . "\n";
}
if ($feature_sec_text) {
Пример #4
0
<section class="footer-bottom">
    <div class="container">
         
    	<div class="row">
            <div class="row">
                  <div class="col-sm-6"><p><?php 
_e(ST_core::option_condition(ot_get_option('copy_right'), '© 2014 SimThemes.  All rights reserved.'), 'SimThemes');
?>
</p></div>
                  <div class="col-sm-6">
                  <?php 
if (ot_get_option('footer_menu_or_social_icon') == 'menu') {
    wp_nav_menu(array('menu' => 'footer_links', 'menu_class' => 'nav footer', 'theme_location' => 'footer_links', 'container' => 'false'));
} elseif (ot_get_option('footer_menu_or_social_icon') == 'social') {
    _e(ST_core::social_bookmarking(array('size' => ot_get_option('icon_size'))), 'SimThemes');
} else {
    _e('You can edit this section via Theme option >> Footer setting >> Footer Menu or Social Buttons', 'SimThemes');
}
?>
                </div>
            </div>
    	</div>
    </div>

</section>

				
		<!--[if lt IE 7 ]>
  			<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
  			<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>