0

我想从每个博客索引页面中删除继续阅读“帖子标题”>>。但我无法做到这一点。

我知道继续阅读在二十十二主题的 content.php 中。以下是代码的确切内容:-

<?php the_content( __( 'Continue reading <span>&rarr;</span>', 'twentytwelve' ) ); ?>

我尝试将其更改为:-

<?php the_content( __( ' ', 'twentytwelve' ) ); ?> 

乃至

 <?php the_content(); ?>.

但没有任何结果。我什至尝试functions.php按照 WP Function Reference 和许多论坛中的建议向文件中添加一些函数。

如何从索引页面中删除此链接?即使我在 content.php 中将单词从 Continue Reading 更改为 Read More 之类的其他内容,索引页面中也不会出现任何更改。我不想接触 WP 的核心文件。

PS:-我也一直在清除我的浏览器缓存。

4

0 回答 0