Change Previous and Next text in paging links

0

I defined the pagination parameters in functions.php and echoed where I want the links to appear, so far so good.

The problem is that the texts from previous and next are not changing. I put a text nothing to see and see what appears. They are even translated ...

<?php $args = array(
    'base'               => '%_%',
    'format'             => '?paged=%#%',
    'total'              => 1,
    'current'            => 0,
    'show_all'           => false,
    'end_size'           => 1,
    'mid_size'           => 2,
    'prev_next'          => true,
    'prev_text'          => __('wefdwqd'),
    'next_text'          => __('wqdwqdqw'),
    'type'               => 'list',
    'add_args'           => false,
    'add_fragment'       => '',
    'before_page_number' => '',
    'after_page_number'  => ''
); ?>



<!-- Links de paginação -->
<?php echo paginate_links( $args ); ?>
    
asked by anonymous 25.01.2017 / 15:32

0 answers