Опис
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
Відгуки
Для цього плагіна немає відгуків.
Учасники та розробники
“Theme Blvd Layouts to Posts” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “Theme Blvd Layouts to Posts” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.
Журнал змін
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.