2017 © Pedro Peláez
 

wordpress-plugin dashboard

Wordpress plugin to let themes customize the dashboard in their own way

image

hyyan/dashboard

Wordpress plugin to let themes customize the dashboard in their own way

  • Friday, November 14, 2014
  • by hyyan
  • Repository
  • 1 Watchers
  • 1 Stars
  • 65 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Wordpress Dashboard

project status Latest Stable Version Total Downloads License, (*1)

Wordpress plugin to let themes customize the dashboard in their own way, (*2)

Features

  1. Changing Dashboard Title
  2. Changing Dashboard Heading
  3. Changing Welcome Panel Content Or Disable it
  4. Changing version
  5. Changing Copyright
  6. Removing selected dashboard metaboxes (default ones only)
  7. Removing adminbar menus
  8. Removing menu pages
  9. Disable theme switch

How to install

Classical way

  1. Download the plugin as zip archive and then upload it to your wordpress plugins folder and extract it there.
  2. Activate the plugin from your admin panel

Composer way

  1. run composer command : composer require hyyan/dashboard

How to use

Plugin configutaion

The plugin comes with following configuration as default :, (*3)

$default = array(
    // dashboard title
    'title' => __('Dashboard'),
    // dashboard heading
    'heading' => __('Dashboard'),
    // welcome panel file
    'welcome-panel' => '/welcome-panel.php',
    // array of dashboardd metaboxes to remove
    'remove-metaboxes' => array(
        'dashboard_plugins' => true,
        'dashboard_primary' => true,
        'dashboard_secondary' => true,
        'dashboard_incoming_links' => true,
        'dashboard_quick_press' => false,
        'dashboard_recent_drafts' => false,
        'custom_help_widget' => false,
        'welcome_panel' => false,
    ),
    // diable the ability to switch themes 
    'disable-theme-switch' => true,
    // replace wordpress version
    'version' => '',
    // replace wordpress copyright
    'copyright' => '',
    // adminbar menus to remove
    'remove-adminbar-menus' => array(
        'wp-logo',
        'about',
        'wporg',
        'documentation',
        'support-forums',
        'feedback',
        'updates',
        'themes'
    ),
    // menu pages to remove
    'remove-menus' => array()
);

You can override the default configuration using add_filter function like in the following example :, (*4)

// in the your theme's functions.php file

add_filter('Hyyan\Dashboard.options', function($default) {

    $default['title'] = 'This is a test';
    $default['heading'] = 'This is heading';
    $default['remove-metaboxes'] = array_merge($default['remove-metaboxes'], array(
        'dashboard_quick_press' => false
    ));

    return $default;
});

Contributing

Everyone is welcome to help contribute and improve this plugin. There are several ways you can contribute:, (*5)

  • Reporting issues (please read issue guidelines)
  • Suggesting new features
  • Writing or refactoring code
  • Fixing issues

The Versions

14/11 2014

dev-master

9999999-dev

Wordpress plugin to let themes customize the dashboard in their own way

  Sources   Download

MIT

The Requires

 

wordpress wordpress plugin bedrock hyyan wordpress admin wordpress muplugin dashborad wordpress dashboard customize welcome panel

14/11 2014

0.3

0.3.0.0

Wordpress plugin to let themes customize the dashboard in their own way

  Sources   Download

MIT

The Requires

 

wordpress wordpress plugin bedrock hyyan wordpress admin wordpress muplugin dashborad wordpress dashboard customize welcome panel

12/11 2014

0.2

0.2.0.0

Wordpress plugin to let themes customize the dashboard in their own way

  Sources   Download

MIT

The Requires

 

wordpress wordpress plugin bedrock hyyan wordpress admin wordpress muplugin dashborad wordpress dashboard customize welcome panel

16/10 2014

0.1

0.1.0.0

Wordpress plugin to let themes customize the dashboard in their own way

  Sources   Download

MIT

The Requires

 

wordpress wordpress plugin bedrock hyyan wordpress admin wordpress muplugin dashborad wordpress dashboard customize welcome panel

14/10 2014

0.1.1

0.1.1.0

Wordpress plugin to let themes customize the dashboard in their own way

  Sources   Download

MIT

The Requires

 

wordpress wordpress plugin bedrock hyyan wordpress admin wordpress muplugin dashborad wordpress dashboard customize welcome panel