Deactivate WordPress posts and blog function completely

In this post I present the Disable Blog Plugin, with which you can deactivate the WordPress blog function. This allows all blog features such as posts, categories and keywords in the backend and frontend to be hidden and switched off.

Disable blog WordPress plugin

The plugin is particularly suitable for simple websites, which mainly consist of static pages and do not require a news area or blog. Here the plugin can simplify the menus and settings in the backend and thus increase usability for users and editors.

All the power of WordPress, but without a blog.

By: Joshua Nelson

( 8 )
Last updated: 4 months ago
10,000+ active installations
Compatible up to: 5.5.3

Deactivate WordPress blog function

To switch off all blog functions it is sufficient to activate the Disable Blog Plugin.

If the last posts were displayed as the start page before the plugin was activated, an error 404 is now displayed on the homepage due to the deactivation of the blog.

Therefore, a new static start page must be configured at the beginning under Design → Customizer → Static start page .

No further configuration is necessary.

The plugin works without any settings and automatically deactivates all blogging features such as posts, categories, keywords and widgets.

How it works: Hide and redirect all blog functions

The plugin removes all menu links in the WordPress backend for creating and editing posts, categories and keywords. Direct access to the admin pages via URL is also no longer possible because the plugin forwards all requests to the dashboard.

All blog settings such as the number of posts on the start page and the feed options, which can be found under Settings → Read , are also removed.

Existing articles, categories and keywords are not deleted from the database. These should therefore be deleted before activating the plug-in if they are no longer required.

Posts, archives, categories and keywords in the frontend

In the front end, all blog pages are forwarded to the home page.

This affects individual contributions and all archive pages for authors, categories, keywords and monthly archives.

Widgets

All blog-relevant widgets are deregistered and thus removed both in the backend and in the frontend.

Affected widgets:

  • Archives
  • Calendar
  • Categories
  • Latest posts
  • RSS
  • Keywords cloud

Comments

The comment function is not removed, ie the management of comments is still accessible in the backend.

At first glance, this may seem surprising, after all, comments are more of a blog feature. However, WordPress also supports comments on static pages, which means that they are still needed.

The comments can, however, be removed with the very popular Disable Comments plug-in if desired.

Custom Post Types

The plugin deactivates all blog functions, but has no negative effects on custom post types. This means that the author and monthly archives are normally available for other post types such as a portfolio.

If the custom post types use the WordPress core taxonomies for categories and keywords, these will continue to be displayed in the backend for the CPTs.