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.6.7.1 7.6.8 7.6.9 7.7.0 7.8.0 7.8.1 7.8.10 7.8.11 7.8.12 7.8.13 7.8.14 7.8.15 7.8.16 7.8.17 7.8.18 7.8.2 7.8.3 7.8.4 7.8.5 7.8.5.1 7.8.6 7.8.7 7.8.8 7.8.9 7.9.0 7.9.1 7.9.10 7.9.11 7.9.2 7.9.3 7.9.4 7.9.5 7.9.6 7.9.7 7.9.8 7.9.9 8.0.0 8.0.1 8.0.2 8.0.3 8.0.4 8.0.5 8.0.6 8.0.7 8.0.8 8.1.0 8.1.1 8.1.2 8.1.3 8.1.4 8.2.0 trunk 1.0.0 1.1.0 1.2.0 1.3.0 1.4.0 1.5.0 1.6.0 1.7.0 1.8.0 1.9.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.1 2.8.2 2.8.3 2.9.0 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.1.0 3.2.0 3.3.0 3.4.0 3.5.0 3.6.1 3.7.0 3.8.0 3.9.0 3.9.1 3.9.2 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.4.0 4.5.0 4.6.0 4.7.0 4.7.1 4.7.2 4.7.3 4.7.4 4.8.0 4.8.1 4.8.2 4.8.3 4.9.0 4.9.1 4.9.2 4.9.3 5.0.0
admin-site-enhancements / README.md
admin-site-enhancements Last commit date
assets 3 years ago classes 3 years ago vendor 3 years ago LICENSE.md 3 years ago README.md 3 years ago admin-site-enhancements.php 3 years ago bootstrap.php 3 years ago settings.php 3 years ago
README.md
256 lines
1 # Admin and Site Enhancements
2
3 Contributors: qriouslad
4 Donate link: https://paypal.me/qriouslad
5 Tags: enhancements, tweaks, optimizations, tools
6 Requires at least: 4.6
7 Tested up to: 6.1.1
8 Stable tag: 3.3.0
9 Requires PHP: 5.6
10 License: GPLv2 or later
11 License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
13 ![](.wordpress-org/banner-772x250.png)
14
15 Duplicate page / post, replace media, hide login, hide admin notices, hide admin bar, login / logout / 404 redirect, and more in a single plugin.
16
17 ## Description
18
19 Admin and Site Enhancements helps you to easily enhance various admin workflows and site aspects while replacing multiple plugins doing it.
20
21 ### Content Management
22
23 * **Enable Page and Post Duplication**. Enable one-click duplication of pages, posts and custom posts. The corresponding taxonomy terms and post meta will also be duplicated.
24 * **Enable Media Replacement**. Easily replace any type of media file with a new one while retaining the existing media ID, publish date and file name. So, no existing links will break.
25 * **Enable SVG Upload**. Allow some or all user roles to upload SVG files, which will then be sanitized to keep things secure.
26 * **Enable Auto-Publishing of Posts with Missed Schedule**. Trigger publishing of scheduled posts of all types marked with "missed schedule", anytime the site is visited.
27 * **Enhance List Tables**. Improve the usefulness of listing pages of various post types by adding / removing columns and elements.
28 * _Show the featured image column_: in the list tables for pages and post types that support featured images.
29 * _Show the excerpt column_: in the list tables for pages and post types that support excerpt.
30 * _Show the ID column_: in the list tables for pages, all post types, all taxonomies, media, users and comments.
31 * _Remove the comments column_: in in the list tables for pages, post types that support comments, and alse media/attachments.
32 * _Remove the post tags column_: in the list table for posts.
33 * _Show custom taxonomy dropdown filter(s)_: on the list tables of all post types for taxonomies that are hierarchical like post categories.
34
35 ### Admin Interface
36
37 * **Hide Admin Notices**. Clean up admin pages by moving notices into a separate panel easily accessible via the admin bar.
38 * **View Admin as Role**. View admin pages and the site (logged-in) as one of the non-administrator user roles.
39 * **Admin Menu Organizer**. Customize the order of the admin menu and optionally change menu item title or hide some items.
40 * **Clean Up Admin Bar**. Remove various elements from the admin bar.
41 * Remove WordPress logo/menu
42 * Remove customize menu/link
43 * Remove updates counter/link
44 * Remove comments counter/link
45 * Remove new content menu
46 * Remove 'Howdy' text
47 * **Hide Admin Bar**. Hide it on the front end for all or some user roles.
48
49 ### Disable Components
50
51 * **Disable Gutenberg**. Disable the Gutenberg block editor for some or all applicable post types. Optionally disable frontend block styles / CSS files for the selected post types.
52 * **Disable Comments**. Disable comments for some or all public post types. When disabled, existing comments will also be hidden on the frontend.
53 * **Disable REST API**. Disable REST API access for non-authenticated users and remove URL traces from <head>, HTTP headers and WP RSD endpoint.
54 * **Disable Feeds**. Disable all RSS, Atom and RDF feeds. This includes feeds for posts, categories, tags, comments, authors and search. Also removes traces of feed URLs from <head>.
55
56 ### Security
57
58 * **Change Login URL**. Improve site security by using a custom login URL, e.g. www.example.com/backend
59 * **Limit Login Attempts**. Prevent brute force attacks by limiting the number of failed login attempts allowed per IP address.
60 * **Obfuscate Author Slugs**. Obfuscate publicly exposed author page URLs that shows the user slugs / usernames, e.g. _sitename.com/author/username1/_ into _sitename.com/author/a6r5b8ytu9gp34bv/_, and output 404 errors for the original URLs. Also obfuscates in _/wp-json/wp/v2/users/_ REST API endpoint.
61 * **Disable XML-RPC**. Protect your site from brute force, DOS and DDOS attacks via XML-RPC. Also disables trackbacks and pingbacks.
62
63 ### Utilities
64
65 * **Enable Custom Admin CSS**. Add custom CSS on all admin pages for all user roles.
66 * **Enable Custom Frontend CSS**. Add custom CSS on all frontend pages for all user roles.
67 * **Insert <head>, <body> and <footer> Code**. Easily edit and validate your ads.txt and app-ads.txt content.
68 * **Manage ads.txt and app-ads.txt**. Easily insert <meta>, <link>, <script> and <style> tags, Google Analytics, Tag Manager, AdSense, Ads Conversion and Optimize code, Facebook, TikTok and Twitter pixels, etc.
69 * **Redirect After Login / Logout**. Set custom redirect URL for all or some user roles after login / logout.
70 * **Redirect 404 to Homepage**. Perform 301 (permanent) redirect to the homepage for all 404 (not found) pages.
71
72 Admin and Site Enhancements will include more enhancements, tweaks and useful features in future versions. Please [](https://wordpress.org/support/plugin/admin-site-enhancements/give feedback](https://wordpress.org/support/plugin/admin-site-enhancements/](https://wordpress.org/support/plugin/admin-site-enhancements/) on must-have plugins or code snippets you enable on sites that you manage, and the functionalities will be considered for inclusion as well.
73
74 ### Give Back
75
76 * [](https://wordpress.org/plugins/admin-site-enhancements/#reviewsA nice review](https://wordpress.org/plugins/admin-site-enhancements/#reviews](https://wordpress.org/plugins/admin-site-enhancements/#reviews) would be great!
77 * [](https://wordpress.org/support/plugin/admin-site-enhancements/Give feedback](https://wordpress.org/support/plugin/admin-site-enhancements/](https://wordpress.org/support/plugin/admin-site-enhancements/) and help improve future versions.
78 * [](https://github.com/qriouslad/admin-site-enhancementsGithub repo](https://github.com/qriouslad/admin-site-enhancements](https://github.com/qriouslad/admin-site-enhancements) to contribute code.
79 * [](https://paypal.me/qriousladDonate](https://paypal.me/qriouslad](https://paypal.me/qriouslad) and support my work.
80
81 ### Check These Out Too
82
83 * [](https://wordpress.org/plugins/system-dashboard/System Dashboard](https://wordpress.org/plugins/system-dashboard/](https://wordpress.org/plugins/system-dashboard/): Central dashboard to monitor various WordPress components, processes and data, including the server.
84 * [](https://wordpress.org/plugins/debug-log-manager/Debug Log Manager](https://wordpress.org/plugins/debug-log-manager/](https://wordpress.org/plugins/debug-log-manager/): Log PHP, database and JavaScript errors via WP_DEBUG with one click. Conveniently create, view, filter and clear the debug.log file.
85 * [](https://wordpress.org/plugins/variable-inspector/Variable Inspector](https://wordpress.org/plugins/variable-inspector/](https://wordpress.org/plugins/variable-inspector/): Inspect PHP variables on a central dashboard in wp-admin for convenient debugging.
86 * [](https://wordpress.org/plugins/code-explorer/Code Explorer](https://wordpress.org/plugins/code-explorer/](https://wordpress.org/plugins/code-explorer/): Fast directory explorer and file/code viewer with syntax highlighting.
87 * [](https://wordpress.org/plugins/flexible-scroll-top/Flexible Scroll Top](https://wordpress.org/plugins/flexible-scroll-top/](https://wordpress.org/plugins/flexible-scroll-top/) and [](https://wordpress.org/plugins/floating-share-button/Floating Share Buttons](https://wordpress.org/plugins/floating-share-button/](https://wordpress.org/plugins/floating-share-button/) is a lightweight combo with minimalist UI.
88
89 ## Screenshots
90
91 1. Content Management
92 ![Content Management](.wordpress-org/screenshot-1.png)
93 2. Admin Interface
94 ![Admin Interface](.wordpress-org/screenshot-2.png)
95 3. Disable Components
96 ![Disable Components](.wordpress-org/screenshot-3.png)
97 4. Security
98 ![Security](.wordpress-org/screenshot-4.png)
99 5. Utilities
100 ![Utilities](.wordpress-org/screenshot-5.png)
101
102 ## Frequently Asked Questions
103
104 ### Why build this plugin?
105
106 Hoping that this is useful in reducing the number of plugins we install the first time we set up a site.
107
108 ## Changelog
109
110 ### 3.3.0 (2022.12.12)
111
112 * **[ADDED] Utilities >> Manage ads.txt and app-ads.txt**. Easily insert <meta>, <link>, <script> and <style> tags, Google Analytics, Tag Manager, AdSense, Ads Conversion and Optimize code, Facebook, TikTok and Twitter pixels, etc.
113 * **[ADDED] Utilities >> Manage ads.txt and app-ads.txt** is now a single settings field.
114
115 ### 3.2.0 (2022.12.12)
116
117 * **[ADDED] Utilities >> Manage ads.txt and app-ads.txt**: Easily edit and validate your ads.txt and app-ads.txt content. Please backup existing ads.txt and app-ads.txt content and remove those files before copying the original content into the ads.txt and app-ads.txt manager in the Utilities tab. If no ads.txt / app-ads.txt files exist in the root directory of your WordPress installation, you can immediately add content for both files.
118
119 ### 3.1.0 (2022.12.11)
120
121 * **[ADDED] Content Management >> Enable Auto-Publishing of Posts with Missed Schedule**: Trigger publishing of scheduled posts of all types marked with "missed schedule", anytime the site is visited. Uses Transients API to reduce load to the DB on busy sites. Will only query the DB once every 15 minutes (at most).
122
123 ### 3.0.6 (2022.12.08)
124
125 * **[CHANGED] Admin Interface >> Admin Menu Organizer**: Enqueue jQuery UI widget.min.js for WP version less than 5.6.0. This ensures the feature works for those WP versions.
126
127 ### 3.0.5 (2022.12.08)
128
129 * **[CHANGED] Admin Interface >> Admin Menu Organizer**: Enqueue the minified version of jQuery UI scripts, as older versions of WP do not have the unminified version.
130
131 ### 3.0.4 (2022.12.07)
132
133 * **[CHANGED] Admin Interface >> Admin Menu Organizer**: Substantially lower priorities of actions that handles rendering of custom menu order, custom menu title and hiding of menu items. This is so that menu items added late by active plugins and theme are handled properly.
134
135 ### 3.0.3 (2022.12.07)
136
137 * **[CHANGED] Admin Interface >> Admin Menu Organizer**: Make sure menu item sortables reflect custom menu order saved in options, especially when this feature is re-enabled. Remove all HTMl tags and content inside them from menu item titles in the sortables.
138
139 ### 3.0.2 (2022.12.07)
140
141 * **[CHANGED] Hide stubborn notices** appearing inside the admin page header (via CSS).
142
143 ### 3.0.1 (2022.12.01)
144
145 * **[CHANGED] Admin Interface >> Admin Menu Organizer**: Make sure newer menu items added by newly installed plugins or activated theme are showing up towards the end of the admin menu and the menu item sortables. Comments and updates counters are now hidden. Sortables for menu separators have been faded out to make actual menu items stand out more.
146 * **[CHANGED] Disable Components >> Disable Comments**: Ensure trackbacks metabox is also hidden on edit screens of post types where commenting is disabled.
147
148 ### 3.0.0 (2022.11.30)
149
150 * **[ADDED] Disable Components >> Disable Feeds**: Disable all RSS, Atom and RDF feeds. This includes feeds for posts, categories, tags, comments, authors and search. Also removes traces of feed URLs from <head>.
151
152
153 ### 2.9.0 (2022.11.30)
154
155 * **[ADDED] Disable Components >> Disable REST API**: Disable REST API access for non-authenticated users and remove URL traces from \<head\>, HTTP headers and WP RSD endpoint.
156
157 ### 2.8.3 (2022.11.29)
158
159 * **[CHANGED] Admin Interface >> Admin Menu Organizer**: Fix for missing Show All toggle in certain scenarios.
160
161 ### 2.8.2 (2022.11.29)
162
163 * **[CHANGED] Admin Interface >> Admin Menu Organizer**: Allow customizing menu item title, for menu items added by plugins or the active theme, i.e. not from WordPress core.
164
165 ### 2.8.1 (2022.11.28)
166
167 * **[CHANGED] Admin Interface >> Admin Menu Organizer**: Fixed the issue when menu items are no longer shown upon saving. This happened when Admin Menu Organizer was enabled and directly saved without making any changes to the menu order first.
168
169 ### 2.8.0 (2022.11.28)
170
171 * **[ADDED] Disable Components >> Disable Gutenberg**: Disable the Gutenberg block editor for some or all applicable post types. Optionally disable frontend block styles / CSS files for the selected post types.
172
173 ### 2.7.0 (2022.11.27)
174
175 * **[ADDED] Disable Components >> Disable Comments**: Disable comments for some or all public post types. When disabled, existing comments will also be hidden on the frontend.
176 * **[CHANGED] Security >> Limit Login Attempts**: Improved styling of empty datatable, i.e. when there is no failed login attempts logged.
177 * **[CHANGED] Settings tab position** is now saved to browser cookie, so it persists upon saving changes or revisiting it from elsewhere in wp-admin.
178 * **[CHANGED] Some code refactoring** to make logical separation and categorization of features clearer. CodeMirror and DataTables assets loading are also moved
179
180 ### 2.6.0 (2022.11.19)
181
182 * **[ADDED] Content Management >> Enable SVG Upload**: Allow some or all user roles to upload SVG files, which will then be sanitized to keep things secure.
183
184 ### 2.5.0 (2022.11.18)
185
186 * **[ADDED] Security >> Limit Login Attempts**: Prevent brute force attacks by limiting the number of failed login attempts allowed per IP address.
187 * **[CHANGED] Security >> Custom Login URL** feature has been made compatible with Limit Login Attempts feature.
188 * **[CHANGED] Security >> Change Login URL** now works with the interim login modal window, the one that pops up when user is logged out in the background.
189 * **[CHANGED] Security >> Change Login URL** adds another process to ensure user is redirected to the dashboard after successful login. It was redirecting to the /not_found/ (404) page in rare occasions as [](https://wordpress.org/support/topic/change-login-url-redirects-to-not-found/reported by @vdrover](https://wordpress.org/support/topic/change-login-url-redirects-to-not-found/](https://wordpress.org/support/topic/change-login-url-redirects-to-not-found/).
190 * **[CHANGED] Utilities >> Redirect After Login** will correctly override default login redirection by Change Login URL.
191 * **[CHANGED] Improve code comments throughout**.
192
193 ### 2.4.0 (2022.11.10)
194
195 * **[ADDED] Utilities >> Enable Custom Frontend CSS**: Add custom CSS on all frontend pages for all user roles.
196
197 ### 2.3.0 (2022.11.09)
198
199 * **[ADDED] Utilities >> Enable Custom Admin CSS**: Add custom CSS on all admin pages for all user roles.
200
201 ### 2.2.0 (2022.11.09)
202
203 * **[ADDED] Security >> Disable XML-RPC**: Protect your site from brute force, DOS and DDOS attacks via XML-RPC. Also disables trackbacks and pingbacks.
204 * **[ADDED] Expand/collapse toggle** for feature settings that takes up longer vertical space, e.g. Admin Menu Customizer.
205 * **[CHANGED] Refactor code around plugin settings page**. Now uses separate classes for sections and fields registration, for sanitization of field values and for rendering the fields on the admin page.
206
207 ### 2.1.0 (2022.11.08)
208
209 * **[ADDED] Security >> Obfuscate Author Slugs**: Obfuscate publicly exposed author page URLs that shows the user slugs / usernames, e.g. _sitename.com/author/username1/_ into _sitename.com/author/a6r5b8ytu9gp34bv/_, and output 404 errors for the original URLs. Also obfuscates in _/wp-json/wp/v2/users/_ REST API endpoint. Props to [](https://github.com/qriouslad/admin-site-enhancements/pull/1pull request](https://github.com/qriouslad/admin-site-enhancements/pull/1](https://github.com/qriouslad/admin-site-enhancements/pull/1) from [](https://github.com/wahyuiefWahyu Arief @wahyuief](https://github.com/wahyuief](https://github.com/wahyuief) and [](https://plugins.trac.wordpress.org/browser/smart-user-slug-hider/tags/4.0.2/inc/class-smart-user-slug-hider.phpfunctions](https://plugins.trac.wordpress.org/browser/smart-user-slug-hider/tags/4.0.2/inc/class-smart-user-slug-hider.php](https://plugins.trac.wordpress.org/browser/smart-user-slug-hider/tags/4.0.2/inc/class-smart-user-slug-hider.php) from [Smart User Slug Hider
210 ](https://wordpress.org/plugins/smart-user-slug-hider/).
211
212 ### 2.0.0 (2022.11.06)
213
214 * **[ADDED] Admin Interface >> Admin Menu Organizer**: Customize the order of the admin menu and optionally hide some items.
215
216 ### 1.9.0 (2022.11.03)
217
218 * **[ADDED] Admin Interface >> Hide or Modify Elements**: Easily simplify or customize various admin UI elements, starting with the admin bar.
219 * **[CHANGED] Content Management >> Enhance List Tables**: this combines previously separate features related to list tables for various post types.
220
221 ### 1.8.0 (2022.11.03)
222
223 * **[ADDED] Admin Interface >> View Admin as Role**: View admin pages and the site (logged-in) as one of the non-administrator user roles.
224
225 ### 1.7.0 (2022.10.31)
226
227 * **[ADDED] Utilities >> Redirect 404 to Homepage**: Perform 301 (permanent) redirect to the homepage for all 404 (not found) pages.
228
229 ### 1.6.0 (2022.10.31)
230
231 * **[ADDED] Utilities >> Redirect After Logout**: Set custom redirect URL for all or some user roles after logout.
232
233 ### 1.5.0 (2022.10.30)
234
235 * **[ADDED] Utilities >> Redirect After Login**: Set custom redirect URL for all or some user roles after login.
236
237 ### 1.4.0 (2022.10.30)
238
239 * **[ADDED] Security >> Change Login URL**: allow for setting a custom login URL to improve site security.
240
241 ### 1.3.0 (2022.10.29)
242
243 * **[ADDED] Admin Interface >> Hide Admin Bar**: Hide it on the front end for all or some user roles.
244
245
246 ### 1.2.0 (2022.10.28)
247
248 * **[ADDED] Admin Interface >> Hide Admin Notices**: Clean up admin pages by moving notices into a separate panel easily accessible via the admin bar.
249
250 ### 1.1.0 (2022.10.22)
251
252 * **[ADDED] Content Management >> Enable Media Replacement**: Enable easy replacement of any type of media file with a new one while retaining the existing media ID and file name.
253
254 ### 1.0.0 (2022.10.17)
255
256 * Initial stable release.