Beskrivning
The ”Astro Hide Unpublished Post Types From Menu” plugin automatically hides from WordPress menus all post types and pages, including custom post types such as WooCommerce products, that have a status other than ”published”. This feature is useful as it prevents page not found errors (404 errors) for unpublished posts and saves the site administrator time in updating menu items if the post type is updated with a draft, pending, future, private or trash status.
License
This plugin is licensed under the GPLv2 or later. For more information, see the GPLv2 license.
Installation
- Upload the
astro-hide-unpublished-post-types
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ’Plugins’ menu in WordPress.
- The plugin will automatically hide unpublished post types in menus.
Vanliga frågor
-
Currently, the plugin is designed to hide all post types except those with the ”published” status. Customization would require modifying the plugin code.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Astro Hide Unpublished Post Types From Menu” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Astro Hide Unpublished Post Types From Menu” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0.0
- Initial version