最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

theme development - Exclude read more in the_excerpt

programmeradmin1浏览0评论
Closed. This question is off-topic. It is not currently accepting answers.

Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?

Closed 5 years ago.

Improve this question

I want to remove "read more" in the next code:

<?php the_excerpt(); ?>

Is it possible to do in the PHP line directly or I need a filter in funtions.php? I am want to do one by one in PHP query not for all.

Closed. This question is off-topic. It is not currently accepting answers.

Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?

Closed 5 years ago.

Improve this question

I want to remove "read more" in the next code:

<?php the_excerpt(); ?>

Is it possible to do in the PHP line directly or I need a filter in funtions.php? I am want to do one by one in PHP query not for all.

Share Improve this question asked Nov 27, 2019 at 1:18 nabukenabuke 231 silver badge3 bronze badges 1
  • 3 the_excerpt() doesn't output "read more" by default. If it's appearing then your theme would be adding it, and you'd need to remove the filter from functions.php. The specifics would depend on the theme. I suggest asking its author. – Jacob Peattie Commented Nov 27, 2019 at 1:27
Add a comment  | 

1 Answer 1

Reset to default 0

I asked to author theme. It was by filter from functions.php

发布评论

评论列表(0)

  1. 暂无评论