| Server IP : 217.160.0.15 / Your IP : 216.73.216.30 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : u37981780 ( 1696858) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /homepages/43/d124547881/htdocs/app395378437/wp-content/themes/weaver-ii/ |
Upload File : |
<?php
if ( !defined('ABSPATH')) exit; // Exit if accessed directly
/**
* The Template for displaying all single posts.
*
* @package WordPress
* @subpackage Weaver II
* @since Weaver II 1.0
*/
weaverii_get_header('single');
if ( weaverii_getopt('wii_infobar_location') == 'top' ) get_template_part('infobar');
weaverii_inject_area('premain');
echo("\t<div id=\"main\">\n");
weaverii_trace_template(__FILE__);
global $weaverii_cur_post_id;
$weaverii_cur_post_id = get_the_ID();
weaverii_get_sidebar_left('single');
?>
<div id="container_wrap"<?php weaverii_get_page_class('single', 'container-single'); ?>>
<?php
if (weaverii_getopt('wii_infobar_location') == 'content') get_template_part('infobar');
weaverii_inject_area('precontent'); ?>
<div id="container">
<?php weaverii_get_sidebar_top('single'); ?>
<div id="content" role="main">
<?php weaverii_post_count_clear();
$cats = weaverii_getopt_checked('wii_single_nav_link_cats');
while ( have_posts() ) {
the_post(); ?>
<nav id="nav-above" class="navigation">
<h3 class="assistive-text"><?php echo __( 'Post navigation','weaver-ii'); ?></h3>
<?php if (weaverii_getopt('wii_single_nav_style')=='prev_next') {
?>
<div class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">←</span> Previous','weaver-ii'), $cats ); ?></div>
<div class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">→</span>','weaver-ii'), $cats); ?></div>
<?php } else {
?>
<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '←', 'Previous post link','weaver-ii') . '</span> %title', $cats ); ?></div>
<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '→', 'Next post link','weaver-ii') . '</span>' , $cats); ?></div>
<?php }
?>
</nav><!-- #nav-above -->
<?php get_template_part( 'content', 'single' ); ?>
<nav id="nav-below" class="navigation">
<h3 class="assistive-text"><?php echo __( 'Post navigation','weaver-ii'); ?></h3>
<?php if (weaverii_getopt('wii_single_nav_style')=='prev_next') {
?>
<div class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">←</span> Previous','weaver-ii'), $cats ); ?></div>
<div class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">→</span>','weaver-ii'), $cats ); ?></div>
<?php } else {
?>
<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '←', 'Previous post link','weaver-ii') . '</span> %title', weaverii_getopt_checked('wii_single_nav_link_cats') ); ?></div>
<div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '→', 'Next post link','weaver-ii') . '</span>', $cats ); ?></div>
<?php }
?>
</nav><!-- #nav-above -->
<?php
comments_template( '', true ); ?>
<?php } // end of the loop. ?>
</div><!-- #content -->
<?php weaverii_get_sidebar_bottom('single'); ?>
</div><!-- #container -->
</div><!-- #container_wrap -->
<?php weaverii_get_sidebar_right('single');
weaverii_get_footer('single'); ?>