wordpress - Wordpress Read More 仍然显示在 single.php 页面的博客文章中
问题描述
Wordpress ReadMore 仍然显示在 single.php 页面的博客文章中
<?php
while ( have_posts() ) : the_post();
get_template_part( 'template-parts/content', get_post_type() );
the_post_navigation();
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
endwhile; // End of the loop.
?>
截屏
解决方案
您是否使用类似the_content( 'Continue reading ' );
或the_excerpt
包含在其中的模板部分文件中的代码?您可以包含该文件的代码吗?
推荐阅读
- python - 如何为 TfidfVectorizer 使用列表列表或集合列表?
- r - 在 r 中为股票每小时数据创建 ts 对象
- android - 从 Google Cloud Firestore 获取 JSON 对象
- c# - 如果我们在 C# 中使用 convert.ToDouble 选项,如何使用 Math.Round 选项进行四舍五入到 2 位小数?
- php - 一个网站可以没有 HTML 存在吗?
- c++ - g++ 错误:没有匹配函数调用“fpclassify(float&)”
- c# - 表单 POST 后 MVC 模型向控制器返回 null
- android - 更改其容器内的 SeekBar 位置
- signal-processing - 通过谐波数生成直方图
- c# - Error CS1503 Argument 1: cannot convert from 'string[]' to 'string' for folders found