Описание
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:
- 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.
- On the edit page, scroll down until you see the Title and Toggle meta box. Check «Hide Title» checkbox and update your page.
- 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.
Скриншоты
Установка
- Extract the zip file and upload the storefront-title-toggle folder to your /wp-content/plugins/ directory
- In your WordPress dashboard, go to plugins and activate «Storefront Title Toggle» plugin.
- 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.
Отзывы
Участники и разработчики
«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
- Первый релиз