GithubHelp home page GithubHelp logo

clean-wordpress-admin's Introduction

Clean WordPress Admin

A collection of functions to clean up WordPress front and back-end to make it easier for editors to work and for you to look at the source code. Hiding content is also a good thing to do to limit the possibilities for your clients to destroy your beautiful site :)

Content

Admin bar

Hide items and sub-items in the admin bar. Also known as the Toolbar.

Admin footer

Hide 'Thank you' text and version number in the admin footer

Admin menu

Hide items and sub-items in the admin menu.

Comments

Remove default fields in comment form.

Contextual tabs

Remove all or specific contextual tabs with help and information about how to use the WordPress interface.

Dashboard

Remove dashboard meta boxes or even the whole dashboard itself.

Emojis

Disable built in emojis (since 4.2 WordPress) that loads large JavaScript, CSS and image files πŸ‘Ž

Head

Clears out generated unwanted stuff from the wp_head hook. Such as feeds and WordPress version.

Images

Remove functions related to images like the gallery, default link, alignment and sizes.

JavaScript

De-registers the WordPress default jQuery script.

Media Uploader

Remove actions from the media uploader

Notifications

Remove notifications about core/plugin updates.

Post columns

Remove columns shown on the manage posts screen.

Posts

Remove specific meta boxes from post-types.

Profile

Remove fields from the user profile page, like contact information or the Biographical Info section.

REST API

Disable the REST API

Roles

Remove default roles. Remove capabilities to specific roles or users.

Search

Disable search query and search form.

Theme

Remove theme features.

Widgets

Remove default widgets.

WYSIWYG

Change settings and clean up the TinyMCE WYSIWYG.

Using

Don’t just include these files in your project. Look at the content, update the options and see what works for you!

You should probably keep some things visible for you or a super admin. Check the user role like this:

if ( ! current_user_can( 'administrator' ) ) {
  // Clean it up!
}

Contribution

Feel free to suggest anything you see missing or want fixed!

clean-wordpress-admin's People

Contributors

vincentorback avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.