我怎样才能使箭头成为链接的一部分?
<?php next_post_link(\'%link →\'); ?>
上述输出为|<a href="nextPostLink">NextPostTitle<a> arrow
|我怎样才能使箭头成为链接的一部分?
<?php next_post_link(\'%link →\'); ?>
上述输出为|<a href="nextPostLink">NextPostTitle<a> arrow
|作为文档next_post_link
状态下,link参数是%link 占位符消失。格式参数是整个文本,其中%link 从第二个链接中解压缩。解决方案:
next_post_link( \'%link\', \'%title →\' );
预期输出:<a href="...">Title →</a>
另一方面,类似这样的情况:
next_post_link( \'Over to %link now!\', \'-- %title --\' );
。。。将导致:Over to <a href="...">--- Title ---</a> now!
看看这些是怎么打开的?