Hallo,
habe im Forum schon nach meiner Antwort gesucht leider habe ich nichts gefunden.
Ich will das jedes Thema ein Beitrag wird und dieser Beitrag soll gleich ganz zu sehen sein.
Affiliate System | Business Weblog
<--more--> ist nicht drine und bei Feedeinstellungen habe ich Beiträge auf ganze Beiträge eingestellt. Kann mir jemand weiter helfen?
so sieht meine index.php aus :
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="entry">
<div id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<abbr title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s – %2$s'), the_date('', '', '', false), get_the_time()) ?></abbr> <!-- by <?php the_author() ?> -->
<?php the_content('Read the rest of
this entry »'); ?>
<p class="postmetadata">Posted in <span class="cty"><?php the_category(', ') ?></span> | <?php edit_post_link('Edit', '', ' | '); ?> <span class="cmt"><?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></span></p>
</div></div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('<span class="prev"> Previous Entries</span>') ?></div>
<div class="alignright"><?php previous_posts_link('Next Entries <span class="next"> </span>') ?></div>
</div>
<?php else : ?>
<div class="entry">
<h2>Not Found</h2>
Sorry, but you are looking for something that isn't here.
</div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
und so sieht meine page.php aus:
<?php get_header(); ?>
<div id="content">
<div class="entry">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><?php the_title(); ?></h2>
<?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>
</div>
<?php endwhile; endif; ?>
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen