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

Homepage Control

描述

Using Homepage Control, any theme which uses a “homepage” (or other) hook to display components on a homepage, just got better. Re-order or disable any of the homepage components added by your theme, and control the display and order of any function hooked on to the “homepage” hook.

Looking for a helping hand? View plugin documentation.

用法

Once activated, a “Homepage Control” item will display in the Theme Customizer ( Appearance > Customizer ).

Visiting this screen will display a table of the possible homepage components, with options for re-ordering them, or disabling individual components.

Once done, click the “Save Changes” button, to commit your new component order into the system.

屏幕截图

  • The Homepage Control administration screen.

安装

Installing “Homepage Control” can be done either by searching for “Homepage Control” 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. 通过WordPress的“插件”菜单激活插件
  4. Visit the “Appearance > Customizer” section, select “Homepage Control”. There you can select the components you’d like to display, and in which order.

常见问题

No components show up in the administration area. Is my theme broken?

Not at all. This simply means your theme doesn’t support the “homepage” action hook, which is a method of adding components to a homepage design.

Please consult your theme developer if you have further queries about customising your homepage.

What happens if I switch themes? Do I lose my settings?

Not at all. 🙂 If you switch themes, Homepage Control will remember the homepage component settings for each theme you apply changes to, making switching themes a breeze.

How do I contribute?

We encourage everyone to contribute their ideas, thoughts and code snippets. This can be done by forking the repository over at GitHub.

评价

2021 年 2 月 18 日
Worked exactly as described with several themes including the storefront theme I settled on. You just check which parts you want to show or not and it adds and removes them.
2020 年 7 月 4 日
Thanks for this plugin, i was not able to remove the products from homepage (actually they appeared twice at me since i "renamed" the product categories) Extremely useful plugin!
2020 年 4 月 22 日
Great Plugin. Works well. No issues and have used it with storefront theme for some years now. Check your theme compatability befor install as i have had issues with different themes.
2018 年 11 月 11 日
I really needed a way to modify the storefront theme in as little time as possible. I happened to stumble upon it and was up and running in less than 5 minutes. Bravo.
2018 年 8 月 6 日
one of the best plugin and its working great with storefront theme keep it up guys
阅读所有19条评价

贡献者及开发者

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

贡献者

「Homepage Control」插件已被翻译至 8 种本地化语言。 感谢所有译者为本插件所做的贡献。

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

对开发感兴趣吗?

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

更新日志

2.0.3

  • 2018-02-21
  • PHP 7 fix for count() usage on arrays.

2.0.2

  • 2016-08-24
  • Minor tweaks to customizer control.

2.0.1

  • 2015-06-01
  • Make sure only components that actually exist are outputted to the customizer control (props valendesigns).
  • Hide by default components added after the initial setup.

2.0.0

  • 2015-04-28
  • Removed custom admin page and moved Homepage Control to the WordPress Customizer in Appearance > Customizer.

1.0.1

  • 2014-11-21
  • Improved handling of functions hooked in via classes.

1.0.0

  • 2014-03-18
  • Initial release. Woo!