腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(199)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
2
回答
覆盖子主题中的后置格式
我使用的是一个只有视频帖子格式的子主题,但是父主题定义了所有post格式:我试过: remove_theme_support( '
post-formats
' );
浏览 0
提问于2016-06-23
得票数 0
1
回答
为博客文章和CPT注册不同的帖子格式
我使用下面的代码为我的博客文章注册帖子格式.现在,add_post_type_support( 'portfolio', '
post-formats
' ); 但我只想注册组合CPT的画廊和视频帖子格式。使用下面的代码不起作用..。add_post_type_support( 'po
浏览 0
提问于2014-01-25
得票数 1
回答已采纳
2
回答
如何用preg_match函数显示报价格式?
我已经为主题定义了quote post格式:add_theme_support( '
post-formats
', array(
浏览 0
修改于2019-05-21
得票数 0
回答已采纳
2
回答
WordPress添加不起作用的post格式支持
我正在研究一个主题,由于某种原因,add_theme_support( '
post-formats
', ... )不起作用。mytheme_setup() { add_theme_support( '
post-formats
other functionsadd_action( 'after_setup_theme', 'mythe
浏览 0
提问于2014-02-05
得票数 1
回答已采纳
1
回答
检查是否有以某种邮政格式撰写的帖子
这就是我在我的functions.php中所拥有的 $post_formats = get_theme_support( '
post-formats
浏览 3
提问于2013-10-15
得票数 1
回答已采纳
2
回答
仅为“自定义Post类型”而不是WordPress中的其他类型启用"Post格式“
我想只为"webinar".启用Post格式add_theme_support( '
post-formats
', array( 'audio', 'imageadd_post_type_support( 'medya', '
post-formats
'); 然后,我试图禁用他们的缺陷“后”的帖子类型。remove_theme_support( 'post', '
post
浏览 2
提问于2018-01-29
得票数 0
回答已采纳
1
回答
我是否可以为Post格式分配一个文件夹,而不影响WordPress的回退/分层系统?
在组织工作中,我希望将我所有的Post格式文件放在一个名为
post-formats
的文件夹中,然后使用以下条目调用每个Post格式:虽然这起作用,但我想知道这是否被视为不良做法。
浏览 0
提问于2018-02-07
得票数 0
回答已采纳
1
回答
如何管理自定义post类型中选定的post格式
'supports' => array('title','author','
post-formats
'), 喜欢 :链接,音频,视频
浏览 0
提问于2018-04-03
得票数 0
1
回答
仅将帖子格式应用于特定的帖子类型?
add_theme_support( '
post-formats
', array( 'image', 'chat', 'video', 'gallery' ) ); 'supports' => array('title', 'editor
浏览 0
提问于2013-01-22
得票数 1
回答已采纳
2
回答
如何管理自定义post类型中选定的post格式
'supports' => array('title','author','
post-formats
'), 现在显示所有类型的后格式,但我想只显示选定的。
浏览 0
修改于2018-04-03
得票数 0
1
回答
主题不从子主题获取post格式文件
after_setup_theme', 'setup_postformats', 11); remove_theme_support('
post-formats
'); 'aside', 'gallery',
浏览 0
修改于2017-01-05
得票数 0
1
回答
如何获得主题支持的帖子格式列表?
在添加了对所选的post格式的支持之后,如下所示:然后如何才能获得支持的所以我要找的是但这只会输出true或false,而我希望得到一个已注册的post
浏览 0
提问于2011-06-28
得票数 0
回答已采纳
1
回答
如何按post类型获取所有“`supports`”属性?
也就是说,当邮件注册时,如下所示: 'supports' => ['thumbnail', 'title', '
post-formats
' ...]如果以后,我想获得特定post
浏览 0
提问于2018-12-15
得票数 1
回答已采纳
2
回答
wordpress中自定义帖子类型的分页问题
the correct file accordingly get_template_part( '/lib/includes/
post-formats
$format ); get_template_part( '/lib/includes/
post-formats
/standard' ); endwhile
浏览 0
修改于2011-12-02
得票数 0
回答已采纳
1
回答
Wordpress -访问自定义的post类型的帖子
'supports' => array( 'editor',} add_post_type_support( 'recipe_post_type', '
post-formats</
浏览 3
提问于2016-01-21
得票数 1
回答已采纳
1
回答
在菜单中添加页面类型
revisions', 'author', '
post-formats
custom-fields', 'thumbnail', 'page-attrib
浏览 0
提问于2012-08-16
得票数 0
回答已采纳
2
回答
在自定义菜单中添加支持标记的wordpress仪表板
supports' => array( 'title', 'editor', 'thumbnail', 'comments', 'revisions', 'excerpt','page-attributes','
post-formats
浏览 4
提问于2017-11-20
得票数 0
回答已采纳
1
回答
如何为自定义post类型设置默认格式?
array( 'public' => true, 'supports' => array('title', 'editor', '
post-formats
浏览 0
提问于2011-07-29
得票数 7
回答已采纳
1
回答
Wordpress为register_post_type导出/导入后格式化
我使用register_post_type和'support' => '
post-formats
'创建了项目组合,一切工作正常(创建、编辑等)。
浏览 1
提问于2014-10-26
得票数 1
1
回答
增加对11个儿童主题的员额格式支持
在一个十一个子主题的functions.php文件上,我尝试添加视频post格式支持,使用: add_theme_support('
post-formats
', array( 'aside', 'chat
浏览 0
提问于2012-05-16
得票数 0
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
点击加载更多
领券