Commit 8b5c4432 authored by Jakob Moser's avatar Jakob Moser
Browse files

De-duplicate pagination

parent 7870e993
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
<div class="pagination">
    <div class="older-posts"><?php next_posts_link("« Ältere Posts"); ?></div>
    <div class="newer-posts"><?php previous_posts_link("Neuere Posts »"); ?></div>
</div>
+3 −5
Original line number Diff line number Diff line
@@ -50,11 +50,9 @@ get_header();
            "link_title" => true,
            "hide_default_header_image" => true
        ));
    } ?>
    }
    
    <div class="pagination">
        <div class="older-posts"><?php next_posts_link("« Ältere Posts"); ?></div>
        <div class="newer-posts"><?php previous_posts_link("Neuere Posts »"); ?></div>
    </div>
    get_template_part("components/pagination");
    ?>
</main>
<?php get_footer(); ?>
+3 −5
Original line number Diff line number Diff line
@@ -26,11 +26,9 @@ get_header();
            "link_title" => true,
            "hide_default_header_image" => true
        ));
    } ?>
    } 
    
    <div class="pagination">
        <div class="older-posts"><?php next_posts_link("« Ältere Posts"); ?></div>
        <div class="newer-posts"><?php previous_posts_link("Neuere Posts »"); ?></div>
    </div>
    get_template_part("components/pagination");
    ?>
</main>
<?php get_footer(); ?>