/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/themes/twentytwenty/template-parts
Edit: /var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/themes/twentytwenty/template-parts/pagination.php (2232B)
%s',
'
←',
/*
* Translators: This text contains HTML to allow the text to be shorter on small screens.
* The text inside the span with the class nav-short will be hidden on small screens.
*/
__( 'Newer
Posts', 'twentytwenty' )
);
$next_text = sprintf(
'
%s %s',
/*
* Translators: This text contains HTML to allow the text to be shorter on small screens.
* The text inside the span with the class nav-short will be hidden on small screens.
*/
__( 'Older
Posts', 'twentytwenty' ),
'
→'
);
$posts_pagination = get_the_posts_pagination(
array(
'mid_size' => 1,
'prev_text' => $prev_text,
'next_text' => $next_text,
)
);
// If we're not outputting the previous page link, prepend a placeholder with `visibility: hidden` to take its place.
if ( strpos( $posts_pagination, 'prev page-numbers' ) === false ) {
$posts_pagination = str_replace( '
', '
' . $prev_text . '', $posts_pagination );
}
// If we're not outputting the next page link, append a placeholder with `visibility: hidden` to take its place.
if ( strpos( $posts_pagination, 'next page-numbers' ) === false ) {
$posts_pagination = str_replace( '
', '
' . $next_text . '', $posts_pagination );
}
if ( $posts_pagination ) { ?>