Linux 软件免费装
Banner图

Astro Hide Unpublished Post Types From Menu

开发者 alian
更新时间 2024年7月30日 17:21
PHP版本: 7.4 及以上
WordPress版本: 6.5.5
版权: GPLv2 or later
版权网址: 版权信息

标签

menu menus hide post types unpublished

下载

1.0.0

详情介绍:

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.

安装:

  1. Upload the astro-hide-unpublished-post-types folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. The plugin will automatically hide unpublished post types in menus.

常见问题:

Can I customize which post statuses are hidden?

Currently, the plugin is designed to hide all post types except those with the "published" status. Customization would require modifying the plugin code.

更新日志:

1.0.0