WP Basis is a WordPress plugin that speeds up your WordPress development process by providing functions we add to every site. Primarily, it cleans up the dashboard for your clients users providing a simpler version of the WordPress dashboard and removing admin menus they never need. It also contains a number of functions, hooks and filters to allow you to amend things in the WordPress dashboard quickly and easily. It does all this whilst maintaining your ability to see everything as normal with no changes.
To install the plugin:
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Visit the settings page under Settings > WP Basis
- What does this plugin actually do?
Put simply, the plugin alters the dashboard for users who you set as none WP Basis Super users. It gives them a more simplified dashboard home screen and removes many of the menus that are not needed for clients as they will only confuse them. The plugin also provides a number of templating functions that are useful on many sites.
- Can I change the way the plugin behaves?
The plugin is built with extensibility in mind. In fact this was at the core of its build so that by using this plugin I could still do different things for different sites. Most functions etc. provide actions and filters so that you can change things. For example you can add back in admin menus you may need and add and remove or change the contents of the new dashboard page. Search the plugin code for
do_actionas these are your extensibility flags!
Contributors & Developers
“WP Basis” is open source software. The following people have contributed to this plugin.Contributors
- Hotfix to correct a typo on the settings page – thanks to @mattradford for discovering.
- Prevents a warning message appearing with WP_DEBUG set to true when there is a core upgrade available.
- Prevent access to the theme-editor.php if you know the URL and you are not a super user.
- Allow filtering of Gravity Forms capabilities
- Moves the admin bar toggle links from front end to admin to the front of the admin bar menu so that it is the first item in the list.
- WP Basis super users get to see all widgets rather than only the ones not removed by the plugin.
- Provides a filter for changing the admin bar links and titles.
- Make admin bar elements removed filterable so they can be added back-in easier by developers for specific users.
- Tided up and documented a number of functions as well as compartmentalising functions into folders
- Removed the wpbasis_var_dump() function – this is not a debugging plugin!
- Removed previously included CMB library
- Renamed template-tags.php to template-functions.php – they are functions not tags!
- Add an updates tab to the WP Basis dashboard which indicates updates that are required.
- Update the user capabilities removed by the plugin for none WP Basis users
- Permissions for gravity forms for non wpbasis users. They can only read, edit and delete entries by default.
- Remove widgets that are never used by default.
- Moved old functions into depreciated folder making use of _doing_it_wrong() to warn developers to choose alternative functions
- Tided up some of the documentation on functions
- Index referenced many of the filtered array to allow developers to more easily remove items added with filters
- Only show the WP Basis Super User profile information when the users email domain matches that set in the WP Basis settings page
- Removes the customize menu which as not working with previous code
- Admin bar only now includes a show site/show admin link for none wpbasis users
- Fix some notices with WP_DEBUG turned on
- Login redirect now redirects without debugging errors. All users go to the wpbasis dashboard but the dashboard link in the admin menu always takes users to the appropriate dashboard home depending on whether they are a wpbasis user or not.
- Define constants correctly.
- Allow pages to be marked as contact page of this. A function then allows you to get the contact pages’ ID
- Use SASS for the admin plugins css
- Combine all admin JS into one file
- Remove all unused code as a result of ditching some functions into legacy code
- Remove plugins menu in multisite for non super users
- Move the meta boxes framework into the old folder. Should not be used in this plugin anymore, instead loaded as a mu-plugin.
- Remove site options by default – can be turned on with a filter
- Remove post type descriptions by default – can be turned on with a filter
- Allow wpbasis_featured_img_url to get url for a specific post
- Moves code no longer used into an old folder
- adds a filter to allow developers to change the location, within the theme of the login logo.
- Adds a filter to allows developers to easily remove the site options page.
- Remove the default WordPress update nag
- Add custom update nag with filterable contact URL
- Add filter to turn on media buttons for the footer text in the site options screen
- Update tested upto tag in readme.txt file to WordPress 4.0
- Post type descriptions are based through wpautop rather than the content filters as anything added to the content filters is outputted with the description such as jetpack sharing items.
- Removed pages from having a post type description.
- Addition of post type images in the post type description screen. Good for use as a banner image for post type archives
- Allow site options to be more easily removed from the site options admin screen
- Corrected a typo in an array on the site options screen
- Renamed the post type descriptions front end function as the function name made little sense.
- Corrected an error where two filters had the same name in the admin area.
- Initial Release