WordPress函数


Warning: Undefined array key 0 in /www/wwwroot/www.dianjin123.com/wp-content/themes/dianjinwp/functions.php on line 169
WordPress获取文章子元素函数:get_children

WordPress获取文章子元素函数:get_children

发布于2022/07/13
WordPress函数get_children可用于获取文章下的附件、子页面,通常我用来获取文章缩略图。···

Warning: Undefined array key 0 in /www/wwwroot/www.dianjin123.com/wp-content/themes/dianjinwp/functions.php on line 169
WordPress获取固定链接标签:get_permalink

WordPress获取固定链接标签:get_permalink

发布于2022/07/13
WordPress模板标签get_permalink用于获取文章的固定链接,也就是伪静态链接,需要用在The···

Warning: Undefined array key 0 in /www/wwwroot/www.dianjin123.com/wp-content/themes/dianjinwp/functions.php on line 169
WordPress获取文章摘要函数:get_the_excerpt

WordPress获取文章摘要函数:get_the_excerpt

发布于2022/07/13
WordPress函数get_the_excerpt用于获取文章的摘要,通常用在归档页输出文章列表时同时输···

Warning: Undefined array key 0 in /www/wwwroot/www.dianjin123.com/wp-content/themes/dianjinwp/functions.php on line 169
WordPress输出文章摘要标签:the_excerpt

WordPress输出文章摘要标签:the_excerpt

发布于2022/07/13
WordPress模板标签the_excerpt用于输出文章的摘要,需要用在The Loop主循环。如果当前文···

Warning: Undefined array key 0 in /www/wwwroot/www.dianjin123.com/wp-content/themes/dianjinwp/functions.php on line 169
WordPress获取文章数据函数:get_post

WordPress获取文章数据函数:get_post

发布于2022/07/13
WordPress函数get_post用于获取文章的数据,包括文章内容、标题、别名、摘要、发布时间等···