wordpress - use the_posts_pagination(); without title -
when using the_posts_pagination (see codex) pagination displays title "post navigation".
is possible turn off?
for example using like:
the_posts_pagination( array( 'title' => '', // should hide title 'prev_text' => __( 'previous', 'twentyfifteen' ), 'next_text' => __( 'next', 'twentyfifteen' ), 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( '', 'nieuwedruk' ) . ' </span>', ) );
there "screen_reader_text" property should you
the_posts_pagination( array( 'screen_reader_text' => ' ', 'prev_text' => __( 'previous', 'twentyfifteen' ), 'next_text' => __( 'next', 'twentyfifteen' ), 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( '', 'nieuwedruk' ) . ' </span>', ) );
note: hence space between single quotes.
Comments
Post a Comment