外掛說明
Convert your current theme into a masonry style theme by simply using a shortcode or a widget. You will no longer be tied to a certain theme that implements masonry to get a good looking masonry layout.
CodeFlavors Featured Post allows you to feature any WordPress post type into posts and pages by using the shortcode implemented by the plugin. Besides the featured posts shortcode, the plugin implements a widget that does the exact same thing.
You can use this plugin to display any post type, be it image, regular post, page, WooCommerce product or whatever else.
To display featured posts into the front-end the plugin uses the templates it implements (by default, only 2 are available Fancy and Default) and also offers the possibility to create custom templates that can be used to display the featured posts.
Features:
- Feature any post type;
- Responsive options for displaying posts;
- Plenty of options for choosing posts (post type, taxonomy, number of posts, skipped posts, template);
- Compatible with Visual Composer;
- Compatible with any WordPress theme;
- Feature posts by using the shortcode or the widget;
- TinyMCE editor interface for choosing featured posts.
Links:
- Documentation on plugin usage and structure;
- Forum (while we try to keep up with the forums here, please post any requests on our forums for a faster response);
螢幕擷圖
安裝方式
- Upload the plugin files to the
/wp-content/plugins/
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
使用者評論
參與者及開發者
變更記錄
1.1.1
- Enqueue Bootstrap.css before theme styles to avoid changing the styling
1.1
- Added Bootstrap.css support for responsive layouts;
- Added Masonry.js support;
- Created filter “cfp_bootstrap_css” that when returns “false” will prevent the plugin from loading bootstrap.css from CDN:
add_filter(‘cfp_bootstrap_css’, ‘__return_false’) // this will prevent the plugin from loading bootstrap; - Created filter “cfp_enqueue_masonry_js” that when returns “false” will prevent the plugin from loading and using Masonry.js;
add_filter(‘cfp_enqueue_masonry_js’, ‘__return_false’) // this will prevent the plugin from loading masonry; - Added new option for widget and shortcode for the number of columns that the posts should be displayed in pages.
1.0
- Initial release