此函数使用get_the_posts_navigation()
更改文本的步骤Older posts 和Newer posts 可以使用args传递数组。
使用默认值查看此示例:
the_posts_navigation(
array(
\'prev_text\' => __(\'Older posts\', \'theme_textdomain\'),
\'next_text\' => __(\'Newer posts\', \'theme_textdomain\'),
\'screen_reader_text\' => __(\'Posts navigation\', \'theme_textdomain\')
)
);