Hallo zusammen ![]()
ich hab mir schon den Codex zum Thema Previous und Next Posts links angesehen, doch die Funktion läuft noch nicht. Ich verstehe nicht ganz warum
Vielleicht kann mir jemand ja weiter helfen. Hier ist der Code für meine Index-PHP
PHP
<?php get_header();?>
<main class="site-main"> <article class="site-content"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php get_template_part('template_parts/content');?> <?php endwhile; else : ?> <?php get_template_part('template_parts/content','error');?> <?php endif; ?> <?php previous_posts_link();?> <?php next_posts_link();?> </article> <?php get_sidebar();?></main>
<?php get_footer();?>
Link zur Webseite: Cafe into Wonderland
Vielen Dank im Voraus! ![]()