示例#1
0
    if (sith_get_option('share_post') && empty($get_meta["sith_hide_share"][0]) || $get_meta["sith_hide_share"][0] == 'no') {
        get_template_part('includes/single-share');
    }
    // Get Share Button template
    ?>
    </div>
    <!-- .post-inner --> 
  </article>
  <!-- .container-posts -->
  <?php 
    //Below Post Banner
    if (empty($get_meta["sith_hide_below"][0])) {
        if (!empty($get_meta["sith_banner_below"][0])) {
            echo '<div class="ads-post">' . htmlspecialchars_decode($get_meta["sith_banner_below"][0]) . '</div>';
        } else {
            sith_banner('banner_below', '<div class="ads-post">', '</div>');
        }
    }
    ?>
  <?php 
    get_template_part('includes/single-author');
    ?>
  <?php 
    get_template_part('includes/single-related');
    ?>
  <?php 
}
?>
  <?php 
comments_template('', true);
?>
示例#2
0
}
if (sith_get_option('home_posts_template') != 'loop-3caption') {
} else {
    $homepage_full_layout = ' home-full-layout-nosidebar';
    define('home_full_layout', $homepage_full_layout);
}
$sith_sidebar_pos = get_query_var('cat');
if (sith_get_option('sith_sidebar_pos') != 'full') {
} else {
    $sith_sidebar_pos = ' full-width';
}
$sith_sidebar_pos = get_query_var('cat');
if (sith_get_option('sith_sidebar_pos') != 'right') {
} else {
    $sith_sidebar_pos = ' sidebar-right';
}
$sith_sidebar_pos = get_query_var('cat');
if (sith_get_option('sith_sidebar_pos') != 'left') {
} else {
    $sith_sidebar_pos = ' sidebar-left';
}
define('post_sidebar_pos', $sith_sidebar_pos);
?>
</div>
<?php 
sith_banner('banner_top', '<div class="ads-top clear">', '</div>');
?>
<div id="main-content" class="container container_12<?php 
echo $sidebar;
?>
">
示例#3
0
<div class="clear"></div>
</div>
<!-- .container /-->
<div class="footer-container">
<div class="container-boxedDISABLED container-full">
<?php 
sith_banner('banner_bottom', '<div class="ads-bottom">', '</div>');
get_template_part('footer-widgets');
?>
<div class="clear"></div>
<div class="footer-layout">
  <div class="container">
    <div class="left">
      <?php 
if (sith_get_option('footer_text')) {
} else {
    $footer_time = mysql2date('Y', current_time('timestamp'));
    echo '&#169; ' . $footer_time;
    '';
    echo ' - ';
    echo bloginfo('name');
    echo ' - Powered by <a href="http://www.wordpress.org">WordPress</a> | Designed by <a href="http://www.themenovum.com" title="ThemeNovum" target="_blank">ThemeNovum</a>';
}
if (sith_get_option('footer_text')) {
    $footer_vars = array('%year%', '%site%', '%url%');
}
$footer_val = array(date('Y'), get_bloginfo('name'), home_url());
$footer_text = str_replace($footer_vars, $footer_val, sith_get_option('footer_text'));
echo htmlspecialchars_decode($footer_text);
?>