Description
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.
Captures d’écran
Installation
- 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.
FAQ
-
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.
Avis
Contributeurs/contributrices & développeurs/développeuses
« Title Toggle for Storefront Theme » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
Contributeurs“Title Toggle for Storefront Theme” a été traduit dans 4 locales. Remerciez l’équipe de traduction pour ses contributions.
Traduisez « Title Toggle for Storefront Theme » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal
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
- Version initiale