Hallo,
ich hab ein großes Problem, welches ich alleine leider nicht lösen kann.
Ich benutze das "Nerds Magazine Theme".
Link: http://wordpressthemesbase.com/view/338.html
Wie man sieht, ist auf der 1. Seite (index seite/startseite) die Anordnung der Beiträge nebeneinander aufgeteilt.
Das heißt, wenn ich einen neuen Beitrag schreibe, wird er nicht wie gewohnt ganz oben gepostet, sondern schiebt sich nach links.
Soweit ist auch alles ok. Funktioniert einwandfrei.
Das Problem an der ganzen Sache ist, wenn man jetzt z.B. auf Seite "2,3,5,6 usw." geht, ist die Anordnung wie gewohnt. Also wie bei jedem Standard Wordpress Blog. Das neuste kommt ganz nach oben.
Jetzt möchte ich aber auf allen Seiten (egal ob Startseite, oder Seite 15) diese Anordnung von der Startseite haben.
Ist das möglich?
Oder müsste man dazu das ganze Theme umschreiben? :/
Ich hänge euch hier mal die index.php an damit ihr euch einen Überblick verschaffen könnt:
index.php
<?php get_header(); ?>
<div id="content-wrap">
<div id="content" class="front">
<div class="gap">
<?php if ( $paged < 2 ) { // Do stuff specific to first page ?>
<?php $my_query = new WP_Query('category_name=destaque&showposts=1');
while ($my_query->have_posts()) : $my_query->the_post();
$do_not_duplicate = $post->ID; ?>
<div class="fpost" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?> anschauen"><?php the_title(); ?></a></h2>
<div class="meta2-1">
<div class="mt2">
<span class="usr">Autor: <?php the_author_posts_link(); ?> | <span class="date"><?php the_time('F d, Y') ?></span> <?php comments_popup_link('Kommentar abgeben', '1 Kommentar', '% Kommentare'); ?>
<span class="catr">Kategorie: <?php the_category(', ') ?></span>
</div>
</div>
<div class="entry">
<br/>
<?php the_content(''); ?>
</div>
</div>
<?php endwhile; ?>
<div id="box-post">
<?php
$i = 1;
?>
<?php if (have_posts()) : while (have_posts()) : the_post();
if( $post->ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>
<div class="post post-side" <?php echo ($i % 2) ? '' : 'style ="float:right;margin-left:20px;"'; ++$i; ?> id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?> anschauen"><?php the_title(); ?></a></h2>
<div class="meta2">
<div class="mt"><img src="#"> Kategorie: <?php the_category(', ') ?><br />
<span class="date">Datum: <?php the_time('d.m.y') ?></span><br/>
</div>
</div>
<div class="entry">
<?php the_content(''); ?>
</div>
<p class="meta"><span class="more"><a href="<?php the_permalink() ?>#more-<?php the_ID() ?>" rel="bookmark" title="<?php the_title(); ?> anschauen">Anschauen</a></span> | <span class="commr"><?php comments_popup_link('Kommentar abgeben', '1 Kommentar', '% Kommentare'); ?></span></p>
</div>
<?php echo ($i % 2) ? '<br class="clear" />' : ''; ?>
<?php endwhile; ?>
</div>
<br class="clear" />
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); }
else { ?>
<div class="navigation">
<div style="float:left"><?php next_posts_link('« Antigos') ?></div>
<div style="float:right"><?php previous_posts_link('Novos »') ?></div>
</div>
<? } ?>
<?php else : ?>
<h2 class="center">Nix gefunden</h2>
<p class="center">Die verflixte Seite wurde merkwürdigerweise entfernt oder unbenannt, geklaut, gekrümmt, verbogen oder vergleichbares. Tut mir leid.</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>
<?php } else { // Do stuff specific to non-first page ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?> anschauen."><?php the_title(); ?></a></h2>
<div class="meta2">
<div class="mt2">
<span class="catr">Kategorie: <?php the_category(', ') ?></span>
<br /><span class="date">Datum: <?php the_time('d.m.y') ?></span></div>
</div>
<div class="entry">
<?php the_content(''); ?>
</div>
</div>
<p class="meta"><span clas="more"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?> anschauen.">Anschauen</a></span> | <span class="commr"><?php comments_popup_link('Kommentar abgeben', '1 Kommentar', '% Kommentare'); ?></span>
</p>
<?php endwhile; ?>
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?>
<? } ?>
<?php } ?>
</div>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Alles anzeigen
Hoffe ich hab es verständlich erläutern können.
Über jede Hilfe wär ich dankbar.
Grüße