Title Toggle for Storefront Theme

描述

This plugin lets you easily remove the page title from specific pages or posts. The basic case scenario is to be
able to hide the title that you will be setting for your “Home” page.

This plugin is built to work only for the Storefront theme

How to use:

  1. To hide the title for a certain page, you need to login to your WordPress dashboard, and edit the page that you want to hide the title.
  2. On the edit page, scroll down until you see the Title and Toggle meta box. Check “Hide Title” checkbox and update your page.
  3. After the page has been updated, check your page to see if the title has been successfully removed.

There is also an option to remove the post meta (tags and comment count) for posts.

屏幕截图

  • Metabox that will be displayed in the edit screen. This should be located below the content editor.

安装

  1. Extract the zip file and upload the storefront-title-toggle folder to your /wp-content/plugins/ directory
  2. In your WordPress dashboard, go to plugins and activate “Storefront Title Toggle” plugin.
  3. When editing a post or a page, scroll down until you see the Title Toggle metabox. Check “hide title” to hide the page you are editing.

常见问题

Will this plugin work for themes other than Storefront?

Unfortunately, No. This plugin was designed to work for the Storefront theme, utilizing Storefront’s action hooks and filters. Activating the plugin while using a different theme will trigger a warning.

I’ve activated the plugin, where can I access the settings?

The settings for this plugin is a per page/post basis. The functionality can be accessed in the bottom part of every page/post and needs to be set individually.

How to toggle all titles at once?

This is not possible currently, but we will be adding the functionality on the next version.

Does this work for Products under the WooCommerce plugin?

Yes.

评价

2020 年 5 月 25 日
I’d tried just about everything to remove the word HOME from my homepage before realising i could search for a plugin. Found this and even though it said not tested with my current version of WordPress (latest version), i decided to try and it worked. Installed, activated and hid the unwanted text in less than a minute – thanks heaps!!
2018 年 8 月 27 日
Spent ages googling how to remove the title from just the shop page but not from the category pages, nothing worked. Then I found this plugin and all it took was one little tick box, fantastic plugin.
阅读所有17条评价

贡献者及开发者

“Title Toggle for Storefront Theme” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Title Toggle for Storefront Theme」插件已被翻译至 4 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Title Toggle for Storefront Theme”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.3.0

  • fixed code for php8 compatibility

1.2.4

  • tested with WP version 4.8.2, WooCommerce 3.1.2 and Storefront 2.2.5
  • fixed hiding title on the static frontpage

1.2.3

  • tested with WP version 4.7.3, WooCommerce 2.6.14 and Storefront 2.1.8
  • added filter to set the default values of the title and meta toggles by code

1.2.2

  • fixed – notice showing on 404 pages
  • fixed – notice showing on edit page when saving it
  • added function to display featured image in page when title is hidden

1.2.1

  • fixed – only show “hide meta” checkbox option for posts
  • fixed margin bug when hiding product title

1.2.0

  • added language support
  • updated plugin to use storefront extension boilerplate

1.1.0

  • fixed bug – cannot hide shop page title
  • fixed bug – cannot hide product page title

1.0.0

  • Initial release