数字化技能提升教程,数字化时代生存宝典

数字化百科 / 词条 / WordPress常用函数get the content

WordPress常用函数get the content

查看全部词条命名空间:Main

导航: 上一页 | 首页 | WordPress中文论坛 | WordPress主机 | CMS程序 | 论坛程序 | ECShop | ShopNC | PowerEasy

说明

检索文章内容。

用法

<?php get_the_content( $more_link_text, $stripteaser, $more_file ) ?>

参数

$more_link_text

(字符)(可选)显示更多内容

默认值: null

$stripteaser

(字符)(可选)在更多内容前显示内容摘要

默认值:0

$more_file

(字符)(可选)不使用

默认值:

返回的值

(字符)

示例

注释

修改记录

自0.71版本后

源文件

get_the_content() 位于 wp-includes/post-template.php中。


相关条目