podział wpisu na strony – żaden kod nie działa
-
Witam, chcę podzielić wpis na strony. Ręcznie próbowałam już rozmaitymi metodami z Internetu i żaden kod nie powoduje wyświetlania podziału. 🙁
Mam coś takiego w single.php.:
get_header(); ?><div id=”primary” class=”content-area”>
<main id=”main” class=”site-main” role=”main”><?php
while ( have_posts() ) : the_post();get_template_part( 'template-parts/content’, 'single’ );
//post author box
do_action( 'editorial_author_box’ );//related articles
do_action( 'editorial_related_articles’ );the_post_navigation();
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;endwhile; // End of the loop.
?></main><!– #main –>
</div><!– #primary –>Gdzie dokładnie wkleić kod?
A może lepiej będzie przez jakąś wtyczkę? Możecie coś polecić?
Z góry dziękuję.
- Temat ‘podział wpisu na strony – żaden kod nie działa’ jest zamknięty na nowe odpowiedzi.