描述
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' );
屏幕截图
安装
- Upload
theme-blvd-layouts-to-posts
folder to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- After installing there will be a new meta box on all of your edit post screen sidebars titled “Custom Layout” where you can optionally choose a custom layout built with the Layout Builder.
常见问题
- Installation Instructions
-
- Upload
theme-blvd-layouts-to-posts
folder to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- After installing there will be a new meta box on all of your edit post screen sidebars titled “Custom Layout” where you can optionally choose a custom layout built with the Layout Builder.
- Upload
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.0.5 – 03/28/2018
- Fixed: Password-protected posts display custom layout before password is entered (for Theme Blvd framework 2.7+ themes).
- Fixed: Styling of meta box was a bit wonky (for Theme Blvd framework 2.7+ themes).
1.0.4 – 05/21/2015
- Fixed: Issues with templates not showing featured area, when saved prior to Layout Builder 2.0 (for Theme Blvd framework 2.2-2.4 themes).
1.0.3 – 12/22/2014
- Added compatibility for Theme Blvd framework v2.5+.
- GlotPress compatibility (for 2015 wordpress.org release).
- Minor security fixes.
1.0.2 – 08/15/2013
- Added compatibility for Theme Blvd framework v2.3+.
- Added support for private and password protected posts.
- Added “Dismiss” link for admin framework nag.
- Adjusted Custom Layout selection meta box to list layouts alphabetically.
1.0.1 – 02/31/2013
- Added compatibility for Theme Blvd framework v2.2.1+.
1.0.0 – 08/26/2012
- This is the first release.