最近写了一篇比较长的隐私文章,用到了wp的文章分页功能。却发现默认的分页的页面又小又难找。于是想修改wp的默认分页,网上找了下相关的代码基本都是下面的样子:
 '
' . __( 'More pages: ', 'textdomain' ) . '',
    'after'             => '
',
    'link_before'       => '',
    'link_after'        => '',
    'next_or_number'    => 'next',
    'separator'         => ' | ',
    'nextpagelink'      => __( 'Next »', 'textdomain' ),
    'previouspagelink'  => __( '« Previous', 'textdomain' ),
);
 
wp_link_pages( $args );
?>
但是我尝试了上面的方法并没有任何的效果,通过wp_link_pages( $args );传送的参数没有生效。
 
											








 ,没看好文档。
  ,没看好文档。