這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

CodeFlavors Featured Post

外掛說明

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);

螢幕擷圖

  • The featured post templates available by default (left – template Default, right – template Fancy).
  • WordPress editor button that opens the visual interface.
  • CodeFlavors Featured Post widget.
  • Visual Composer component.

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

使用者評論

2017 年 2 月 3 日
Works perfectly and does what it says. Thanks for the great work!
2016 年 9 月 3 日 1 則留言
Doesn’t work on my site – loading the page is fine at first, but subsequent loads / refreshes causes the layout to look very strange. Also loading Bootstrap CSS is incredibly lazy developing, it changes the base style of my site completely. Wouldn’t recommend until both issues are resolved.
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈CodeFlavors Featured Post〉的開發相關工作。

參與者

將〈CodeFlavors Featured Post〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

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