Hallo zusammen,
ich möchte gerne die Blätterfunktion der Archivbeiträge im Theme Omega deaktivieren, sodass die Beiträge endlos erscheinen.
In der Suchfunktion und bei Tante Google konnte ich nichts finden.
Hier der Link
Aus der "comments-loop-nav.php" werde ich nicht schlau:
PHP
<?php if ( get_option( 'page_comments' ) && 1 < get_comment_pages_count() ) : // are there comments to navigate through ?>
<div class="comments-nav">
<?php previous_comments_link( __( '← Previous', 'omega' ) ); ?>
<span class="page-numbers"><?php printf( __( 'Page %1$s of %2$s', 'omega' ), ( get_query_var( 'cpage' ) ? absint( get_query_var( 'cpage' ) ) : 1 ), get_comment_pages_count() ); ?></span>
<?php next_comments_link( __( 'Next →', 'omega' ) ); ?>
</div><!-- .comments-nav -->
<?php endif; // check for comment navigation ?>
Dann gibt es noch die "comments-loop.php"
PHP
<?php if ( have_comments() ) : ?>
<h3><?php comments_number( '', __( 'One Comment', 'omega' ), __( '% Comments', 'omega' ) ); ?></h3>
<?php get_template_part( 'partials/comments-loop-nav' ); // Loads the comment-loop-nav.php template. ?>
<ol class="comment-list">
<?php wp_list_comments(
array(
'callback' => 'omega_comments_callback',
'end-callback' => 'omega_comments_end_callback'
)
); ?>
</ol><!-- .comment-list -->
<?php endif; // have_comments() ?>
<?php get_template_part( 'partials/comments-loop-error' ); // Loads the comments-loop-error.php template. ?>
Alles anzeigen
Danke schon mal im Voraus :-)
LG
Petra