WP Basis

Description

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.

Screenshots

  • The WP Basis settings screen. Here you set your domain name and organisation name.
  • Add new WP Basis Super User checkbox appears on the profile screen for users who's email domain match that in the settings. With this box checked the admin changes do not take effect.
  • None super users are given a new, more simplified dashboard home page with a number of menu items removed.

FAQ

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 apply_filters and do_action as these are your extensibility flags!

Changelog

1.6.4

  • Hotfix to correct a typo on the settings page – thanks to @mattradford for discovering.

1.6.3

  • 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

1.6.2

  • 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.

1.6.1

  • 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.

1.6

  • 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.

1.5

  • 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.

1.4.2

  • Define constants correctly.

1.4.1

  • Allow pages to be marked as contact page of this. A function then allows you to get the contact pages’ ID

1.4

  • 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

1.3.1

  • Move the meta boxes framework into the old folder. Should not be used in this plugin anymore, instead loaded as a mu-plugin.

1.3

  • 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

1.2

  • adds a filter to allow developers to change the location, within the theme of the login logo.

1.1

  • Adds a filter to allows developers to easily remove the site options page.

1.0

  • Remove the default WordPress update nag
  • Add custom update nag with filterable contact URL

0.8

  • 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

0.7

  • 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.

0.6

  • Removed pages from having a post type description.

0.5

  • Addition of post type images in the post type description screen. Good for use as a banner image for post type archives

0.4

  • 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

0.2

  • 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.

0.1

  • Initial Release

Contributors & Developers

This is open source software. The following people have contributed to this plugin.

Contributors

Browse the code