Danke für die Antwort Whoppy
In der Index steht aber davon leider nix:
<?php get_header(); ?>
<!-- Show the welcome box and slideshow only on first page. Makes for better pagination. -->
<?php if ( $paged < 1 ) { ?>
<!-- Begin Welcome Box -->
<?php if (is_home()) include (THEMELIB . '/apps/welcomebox.php'); ?>
<!-- Begin Slideshow -->
<?php include (THEMELIB . '/apps/slideshow-static.php'); ?>
<!-- End Better Pagination -->
<?php } ?>
<!-- Begin Blog -->
<?php include (THEMELIB . '/apps/blog.php'); ?>
<!-- Begin Footer -->
<?php get_footer(); ?>
Alles anzeigen
In der Single.php gibts auch nen Teil aber da steht schon the_content() drin!
<?php get_header(); ?>
<div class="span-<?php
$sidebar_state = get_option('T_sidebar_state');
if($sidebar_state == "On") {
echo "15 colborder home";
}
else {
echo "24 last";
}
?>">
<div class="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php include (THEMELIB . '/apps/multimedia.php'); ?>
<?php the_content(); ?>
</div>
<div class="clear"></div>
<p class="postmetadata alt">
<small>
This entry was posted
<?php /* This is commented, because it requires a little adjusting sometimes.
You'll need to download this plugin, and follow the instructions:
[URL]http://binarybonsai.com/archives/2004/08/17/time-since-plugin/[/URL] */
/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
and is filed under <?php the_category(', ') ?><?php if (get_the_tags()) the_tags(' and tagged with '); ?>.
You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Both Comments and Pings are open ?>
You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
// Only Pings are Open ?>
Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Comments are open, Pings are not ?>
You can skip to the end and leave a response. Pinging is currently not allowed.
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
// Neither Comments, nor Pings are open ?>
Both comments and pings are currently closed.
<?php } edit_post_link('Edit this entry','','.'); ?>
</small>
</p>
<div class="nav prev left"><?php next_post_link('%link', '←', TRUE); ?></div>
<div class="nav next right"><?php previous_post_link('%link', '→', TRUE); ?></div>
<div class="clear"></div>
<?php endwhile; else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
<?php comments_template(); ?>
</div>
</div>
<?php
$sidebar_state = get_option('T_sidebar_state');
if($sidebar_state == "On") {
get_sidebar() ;
}
else {
echo "";
}
?>
<!-- Begin Footer -->
<?php get_footer(); ?>
Alles anzeigen