twentynineteen_content_width

过滤钩子
apply_filters( 'twentynineteen_content_width', 640 )
参数
  • (string) $link Link to single post/page.
    Required:
返回值
  • () ()
定义位置
  • wp-content/themes/twentynineteen/functions.php , line 256
相关勾子
twentysixteen_content_widthtwentyseventeen_content_widthtwenty_twenty_one_content_widthtwentynineteen_attachment_sizetwentysixteen_credits
相关方法
wp_filter_content_tagsthe_content_feedget_the_content_feedwp_increase_content_media_countfeed_content_typeget_comment_id
引入
Twenty Nineteen 2.0
弃用
-

twentynineteen_content_width: 这是一个过滤钩子,允许开发者改变Twenty Nineteen主题中内容区域的最大宽度。

替换“[…]”(附加到自动生成的摘录中)带有。。。和“继续阅读”链接

$GLOBALS['content_width'] = apply_filters( 'twentynineteen_content_width', 640 );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-06 10:33:15

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: