该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Feature On Homepage

描述

Easily feature pages or posts on your homepage using a shortcode and the new HomePage Features metabox above your default Publish metabox. Pull through a featured image or icon, the title and excerpt or page copy if excerpt is blank then have it directly links to the page/post itself. The plugin will automatically align your features into columns & rows for you as well.

Requires WordPress 3.0 +

Get in touch with me at:
http://mattroyal.co.za/

Features

  • Adds a new metabox to all pages/posts to select to use the current page/post as a featured item, choose the display order and icon you wish to use.
  • Automatically generates the layout columns based on how many features you have selected and you can optionally specify the rows you wish to use as well.

Usage

  • Go to any page or post and use the Feature On Homepage metabox to enable the display of this item.
  • There will be a red number next to the title, this indicates how many featured items you already have selected previously.
  • Choose the order you wish to have this item display, if you see the red indicator on 2 for example, this ones order will need to be 3. Adjust each page/post to get the correct order you wish.
  • Select an icon or use the default featured image option. If featured image exists this will override icon selection. Use either or, you cannot use both.
  • You can use the default excerpt metabox to add your custom information that will pull through or else by default it will pull through you content into the featured items.
  • On your home page or any page you wish to pull these items through on and add this shortcode. [foh_features]
  • If you have an even number of items pulling through and wish to have these display in more than one row, you can use the ‘rows’ argument. It must be even numbers (E.G. 2, 4, 6, 8, 10, etc)or else it will fall back to a single row. [foh_features rows=”2″]
  • If you wish to change the spacing between each column you can use the ‘gutters’ argument. These values are in percentages (E.G. 2 = 2%). [foh_features gutters=”2″]
    Please Note – NB!!

  • FontAwesome is only loaded into the admin area, you must already have or else enqueue FontAwesome on your website itself.

  • There is minimal styling applied intentionally to ensure more flexibility for each unique site, easily just add your CSS to your custom CSS file to style it.

安装

Installing “Feature On Homepage” can be done either by searching for “Feature On Homepage” via the “Plugins > Add New” screen in your WordPress dashboard, or by using the following steps:

  1. Download the plugin via WordPress.org
  2. Upload the ZIP file through the ‘Plugins > Add New > Upload’ screen in your WordPress dashboard
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

No questions yet. Need help, contact me via my website.

评价

此插件暂无评价。

贡献者及开发者

“Feature On Homepage” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Feature On Homepage”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.0

  • 2014-10-24
  • Initial release