Theme Blvd Layouts to Posts
v1.0.5Jason · 2012年8月26日 上架
This plugin extends the Theme Blvd Layout Builder so you can assign your custom templates to standard posts and custom post types.
- 正在使用
- 60+
- 评分
- 暂无
- 累计下载
- 6,164
- 最近更新
- 2018年3月28日
已测试到 4.9.36
贡献者
截图
This plugin extends the Theme Blvd Layout Builder so you can assign your custom templates to standard posts and custom post types.
Note: You must have a Theme Blvd theme installed with the Layout Builder for this plugin to do anything.
Customization
This is a pretty simple plugin, however it will add the custom template selection meta box to all post types automatically. If you’d like to exlude the meta box from certain post types, you can unset those post types from the array attached to the filter themeblvd_ltp_post_types.
function my_ltp_post_types( $post_types ) {
unset( $post_types['post_type_to_remove'] );
return $post_types;
}
add_filter( 'themeblvd_ltp_post_types', 'my_ltp_post_types' );
