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.
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.
In addition to being integrated into static pages, the comments can also be used for e.g. B. BuddyPress or photo galleries or individual media files are used, so deactivating them is not always the best idea.
That's right, I didn't even think about galleries and media files 🙂
Hi!
I am still new to this field!
and wanted to get rid of this blog page on my 1st page
underneath was Nothing Found!
I wanted to test this plugin!
Had a nice slideshow before! about that! and now everything is gone ;-(
how do i undo this? need penetrate the slideshow again!
Urgent feedback
LG Ilona
Hello Ilona,
With the deactivation and deinstallation of the plugin everything should be as before.
By default, WordPress shows the last posts on the homepage. If there are no posts, the theme often displays Nothing found.
The homepage can be changed to a static page instead of the blog page. The settings for this can be found under Design> Customizer> Static start page.
LG,
Brian