You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,18 @@
1
1
### Changelog
2
2
3
+
#### 0.5.1
4
+
- Update to documentation, readmes, and doc blocks.
5
+
- Fix `.distignore` to remove itself and .gitignore from WP-dot-org repo.
6
+
- Add WP repo assets and deployment action.
7
+
- Add plugin row links for support, donate, and github repro links.
8
+
- New red and black logo.
9
+
- New wordpress.org banner.
10
+
- Test up to WordPress v6.0.2
11
+
- Remove core post-related blocks in editor Closes [#53](https://github.com/joshuadavidnelson/disable-blog/issues/53). Adds `dwpb_disabled_blocks` passing array of blocks being disabled by the plugin.
12
+
- Add scripts and styles to change Customizer view of homepage settings, matching the static homepage settings and updated text.
13
+
- Update loader class to provide a `remove_filter` method. Closes [#58](https://github.com/joshuadavidnelson/disable-blog/issues/58).
14
+
- Alter permalink settings based on if categories and author archives are supported.
15
+
3
16
#### 0.5.0
4
17
5
18
**New:**
@@ -21,7 +34,7 @@
21
34
- Hiding the default category & default post format on Writing options page.
22
35
23
36
**Fixes:**
24
-
- Add `dwpb_xmlrpc_methods_to_remove` filter to extend the methods being disabled by the plugin. Pass `false` to remove the functionality entirely. Closes [#50](https://github.com/joshuadavidnelson/disable-blog/issues/50)
37
+
- Add `dwpb_disabled_xmlpc_methods` filter to extend the methods being disabled by the plugin. Pass `false` to remove the functionality entirely. Closes [#50](https://github.com/joshuadavidnelson/disable-blog/issues/50)
25
38
- Bring back some admin page redirects to account for use cases where direct access to `post.php`, `post-new.php`, etc occur. Closes [#45](https://github.com/joshuadavidnelson/disable-blog/issues/45).
26
39
- Replace the REST API site health check (which uses the `post` type) with a matching function using the `page` endpoint instead. This was throwing an error with the `post` type REST endpoints are disabled. Closes [#46](https://github.com/joshuadavidnelson/disable-blog/issues/46)
27
40
- Fix issue with Reading Settings link in admin notice outputting raw HTML instead of a link. Closes [#47](https://github.com/joshuadavidnelson/disable-blog/issues/47)
@@ -39,7 +52,7 @@
39
52
- `dwpb_redirect_options_discussion` has been removed. Use `dwpb_redirect_admin_options_discussion` instead.
40
53
- The filter `dwpb_redirect_admin_options_writing` that would pass a boolean to toggle off the options writing page has been remaned `dwpb_remove_options_writing` and must be passed with `true` in order to have the page redirect _and_ the admin menu item removed. By default the value filtered is false and the options Writing page does not go away, as numerous other plugins use this page for non-blog related settings. Now `dwpb_redirect_admin_options_writing` is used to filter the redirect url itself, replacing the previously named `dwpb_redirect_options_writing` filter.
41
54
- `dwpb_redirect_options_tools` has been removed. Use `dwpb_redirect_admin_options_tools` instead.
42
-
- New filter: `dwpb_xmlrpc_methods_to_remove` (see above).
55
+
- New filter: `dwpb_disabled_xmlpc_methods` (see above).
43
56
- New filter: `dwpb_author_archive_post_types` (see above).
44
57
- New filter: `dwpb_disable_author_archives` (see above).
45
58
- Update public redirect filters to match the pattern used for the new admin redirects. Filer changes include:
Free your WordPress site from posts with a blog-less WordPress site.
15
+
## Description
16
16
17
17
Disable Blog is a comprehensive plugin to disable the built-in blogging functionality on your site. You'll be free to use pages and custom post types without the burden of a blog.
18
18
19
-
**Important**: **You need to select a page to act as the home page**.If Settings > Reading > "Front Page Displays" is not set to show on a page, then this plugin will not function correctly. Not doing so will mean that your post page can still be visible on the front-end of the site. Note that it's not required, but recommended you select a page for the "posts page" setting, this page will be automatically redirected to the static "home page."
19
+
The blog is "disabled" when the plugin is activated, which removes support for the core 'post' type, hides blog-related admin pages/settings, and redirects urls on both the public and admin portions of the site. Refer to [below](#how-does-this-plugin-work) for a detailed functionality list.
20
20
21
-
**Site Content & Data**: This plugin will not delete any of your site's data, however it does by default redirect all posts and post comments to the homepage (refer to the documentation on ways to change this behavior).
21
+
### Important: Set a front page
22
22
23
-
If you have any posts, comments, categories, and/or tags, delete them prior to activation (or deactivate this plugin, delete them, and re-active). If you don't delete them, they will remain in your database and become accessible if you deactivate this plugin or modify the plugin behavior to show posts.
23
+
**You need to select a page to act as the home page**. If Settings > Reading > "Front Page Displays" is not set to show a page, then this plugin will not function correctly. Not doing so will mean that your post page can still be visible on the front-end of the site. It's not required, but it is recommended you select a page for the "posts page" setting, this page will be automatically redirected to the static "home page."
24
24
25
-
**Comments**: Comments remain enabled, unless the 'post' type is the only type supporting comments (pages also support comments by default, so the comments section won't disappear in most cases). If you're looking to disable comments completely, check out the [Disable Comments](https://wordpress.org/plugins/disable-comments/) plugin.
25
+
### Site Content & Data
26
26
27
-
**Categories & Tags**: These are hidden and redirected, unless they are supported by a custom post type.
27
+
This plugin will not delete any of your site's data, however existing blog related content will not be accessible while this plugins is active. This includes posts, categories, tags, and related comments.
28
28
29
-
**Custom Post Types**: This plugin includes extensive support for custom post types and taxonomies. If you are using a custom post type that supports the built-in `category` and/or `post_tag` taxonomies, they will be visible and accessible through that post type.
29
+
If you have content and wish to remove it, either delete that content prior to activation or deactivate this plugin, delete it, and re-active.
30
30
31
-
**Support**: This plugin is maintained for free but **please reach out** and I will assist you as soon as possible. You can visit the [WordPress.org support forums](https://wordpress.org/support/plugin/disable-blog) or create an [issue](https://github.com/joshuadavidnelson/disable-blog/issues) on the [GitHub repository](https://github.com/joshuadavidnelson/disable-blog).
31
+
### Comments
32
+
33
+
Comments remain enabled, unless the 'post' type is the only type supporting comments (pages also support comments by default, so the comments section won't disappear in most cases). If you're looking to disable comments completely, check out the [Disable Comments](https://wordpress.org/plugins/disable-comments/) plugin.
32
34
33
35
### How does this plugin work?
34
36
@@ -81,15 +83,19 @@ Activating Disable Blog does the following:
81
83
82
84
If Settings > Reading > Front Page Displays is not set to show on a page, then some aspects of the plugin won't work, be sure to set your front page to a static page.
83
85
84
-
#### Contributing
85
-
86
-
All contributions are welcomed and considered, please refer to [contributing.md](contributing.md).
87
-
88
86
#### FAQ
89
87
90
-
1.Why Not Disable Comments Entirely?
91
-
-This could be done, but other post types (like Pages) may have comment support. If you would like to disable comments, try the [Disable Comments](https://wordpress.org/plugins/disable-comments/) plugin
88
+
1.Can I Disable Comments?
89
+
-Other post types (like Pages) may have comment support and other great plugins exist that can disable comments, so this feature was not part of the initial development of this plugin. A future release will include options to disable comments, but until then if you would like to disable comments, try the [Disable Comments](https://wordpress.org/plugins/disable-comments/) plugin.
92
90
2. I want to delete my posts and comments
93
-
- Deactivate the plugin, delete your posts (which will delete related comments), and delete any tags or categories you might want to remove as well. Then reactivate the plugin to hide everything.
91
+
- Deactivate the plugin, delete your posts (which will delete related comments), and delete any tags or categories you might want to remove as well. Then reactivate the Disable Blog to hide everything again.
94
92
3. How can I disable author archives?
95
-
- If you're not using the built-in WP author archives (typically at `example.com/author/joshua` urls) and would like to disable them entirely, add the following to your theme functions.php file or a custom plugin file: `add_filter( 'dwpb_disable_author_archives', '__return_true' );`. If author archives are not disabled, the plugin adds functionality to support custom post types on author archives by passing an array of post type slugs to `dwpb_author_archive_post_types` filter - however, theme support is usually needed to disable custom content types correctly.
93
+
- If you're not using the built-in WP author archives for other purposes (example url: `example.com/author/author-name`) and would like to disable them entirely, add the following to your theme functions.php file or a custom plugin file: `add_filter( 'dwpb_disable_author_archives', '__return_true' );`. If author archives are not disabled, the plugin adds functionality to support custom post types on author archives by passing an array of post type slugs to `dwpb_author_archive_post_types` filter - however, theme support is usually needed to disable custom content types correctly.
94
+
95
+
#### Support
96
+
97
+
This plugin is maintained for free but **please reach out** and I will assist you as soon as possible. You can visit the [WordPress.org support forums](https://wordpress.org/support/plugin/disable-blog/) or create an [issue](https://github.com/joshuadavidnelson/disable-blog/issues/) on the [GitHub repository](https://github.com/joshuadavidnelson/disable-blog/).
98
+
99
+
#### Contributing
100
+
101
+
All contributions are welcomed and considered, please refer to [contributing.md](contributing.md).
0 commit comments