腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(6541)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
Excerpt
_length和the_
excerpt
不能正常工作
php the_
excerpt
(); ?我还尝试向functions.php添加函数 return 20;add_filter( '
excerpt
_length', 'custom_
excerpt
_length', 999 ); 它不起作用。
浏览 0
提问于2015-11-11
得票数 1
回答已采纳
1
回答
the_
excerpt
()不在<!->
php the_
excerpt
(); ?>相反,这将像预期的那样正确地裁剪<!>提前谢谢你。
浏览 0
提问于2019-06-17
得票数 0
1
回答
带有短代码转义的the_
excerpt
()或get_the_
excerpt
但是,当我在这些帖子上调用the_
excerpt
()或get_the_
excerpt
()时,它返回:我需要它返回“这是一个下拉列表”,好像不存在任何的短代码。
浏览 0
提问于2012-12-10
得票数 3
回答已采纳
1
回答
关于the_
excerpt
()的问题;函数<the_
excerpt
> <the_content>
The_content(“阅读更多”);但是当我使用the_
excerpt
()时,wordpress在索引页面上返回一个10-15个单词,当我单击
浏览 0
修改于2012-02-15
得票数 0
1
回答
截断post.
excerpt
我正在尝试截断post.
excerpt
。上面显示了博客帖子的所有介绍文本。现在结合这两点,我想到了: <%- post.
浏览 1
修改于2017-08-06
得票数 1
2
回答
Wordpress get_the_
excerpt
而不是$post->post_
excerpt
我正在尝试用get_the_
excerpt
替换下面函数中的$post->post_content,它只是动态地从the_content中推导出一段摘录。the_content', $post->post_content);}function getExcerpt
浏览 0
修改于2018-11-06
得票数 0
2
回答
the_
excerpt
不工作
我最近更新了wordpress,现在除了"the_
excerpt
()“之外,所有的内容都为这个模块输出了。 ?php the_
excerpt
(); ?
浏览 1
提问于2013-05-14
得票数 0
1
回答
wordpress get_
excerpt
() in循环
我似乎无法在这个循环中得到"the_
excerpt
“。它要么不显示,要么在第一个页面上发布。有什么想法吗?<? foreach( $recent_posts as $recent ) { { ?echo $
excerpt
; ?></td&g
浏览 7
修改于2013-08-26
得票数 0
2
回答
wordpress the_
excerpt
不工作
我似乎不能让the_
excerpt
函数工作。我没有调用正确的循环吗?我没有在the_
excerpt
的functions.php中使用任何过滤器。 </div> <?
浏览 0
提问于2012-01-17
得票数 0
1
回答
the_
excerpt
()和<--多->标记
在我的归档页面上,the_
excerpt
()不显示更多标记之前的内容,而是显示文章的全部内容。我有义务完成文章编辑中的“摘录”,这将推翻它。如何强制the_
excerpt
()只显示更多标记之前的内容?
浏览 0
提问于2011-09-04
得票数 0
1
回答
Wordpress - the_
excerpt
()不工作
the_
excerpt
(); ?>"><?php endwhile;?>我注意到,我的内存使用量迅速增加,并继续这样做,我从来没有得到视频。
浏览 0
修改于2014-01-24
得票数 1
回答已采纳
2
回答
如何展示post_
excerpt
?
我正在开发一个主题,但使用post_
excerpt
它不显示内容。
浏览 0
修改于2016-08-25
得票数 0
1
回答
比较the_
excerpt
()和the_content()
有没有一种方法可以将the_
excerpt
()与the_content()进行比较,以确定the_
excerpt
()是否实际显示了整个post内容?例如,如果一个职位特别短。但同时,我不想在摘录后手动修改这个链接,但是我有大量的帖子足够短,他们不需要“读更多”的链接,因为the_
excerpt
会显示完整的帖子。但是将permalink添加到
excerpt
_more过滤器是不完全正确的,因为它不会添加到没有其他内容的视频帖子的链接。 所以我被困在两者之间。我希望这是有意义的。
浏览 0
提问于2012-05-10
得票数 9
回答已采纳
1
回答
删除the_
excerpt
()之前的空格;
我需要删除the_
excerpt
();函数返回我的空格。我注意到它给了我整个文本之前的空白,只有在页面中,图像放在第一位,然后才是文本。
浏览 0
修改于2014-09-27
得票数 2
回答已采纳
1
回答
the_
excerpt
();标记不工作
我对the_
excerpt
();标记有问题,我在index.php和archive.php文件中使用了自己的主题。守则如下:<?php get_header(); ?php the_
excerpt
(); ?-- Post
Excerpt
--> <?php the_
excerpt
(); ?
浏览 0
提问于2012-04-04
得票数 1
回答已采纳
1
回答
节选( the_
excerpt
();)不能正常工作
php the_
excerpt
(); ?
浏览 0
修改于2014-12-02
得票数 0
回答已采纳
2
回答
the_
excerpt
没有出现- woocommerce / wordpress
php if ( '' !php if ( '' !php $my_
excerpt
= get_the_
exc
浏览 7
修改于2019-02-12
得票数 1
回答已采纳
1
回答
The_
excerpt
显示在div之前
get_post_thumbnail_id(); $post_
excerpt
= the_
excerpt
(); $output = '<div class="betting-item">'$post_
excerpt
[0] . &
浏览 1
提问于2014-12-26
得票数 0
回答已采纳
1
回答
Excerpt
显示的是�,而不是?
可能是因为它是这样读的øas & oslash;
浏览 0
修改于2012-07-21
得票数 0
回答已采纳
1
回答
如何动态限制wordpress the_
excerpt
()
我试图限制WordPress的文章摘录,我尝试了一些方法去做,但所有的方法都不是我需要的东西,简洁地说,我想用一个数字限制文章的摘录,我在所有的地方都有不同的地方。 例如,我需要做一些我使用的东西:和代码的这一部分,我想将我的节选限制在30个字符,而在另一个地方,我想使用一个不同的值,比如:在WordPress中吗?
浏览 0
提问于2020-10-02
得票数 0
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券