You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Guilherme Capanema 9b04304db7 Versão 6.3.0 5 years ago
src Permite desabilitar funcionalidades desnecessárias do WooCommerce 5 years ago
.editorconfig Commit inicial. 6 years ago
.gitattributes Commit inicial. 6 years ago
.gitignore Commit inicial. 6 years ago
LICENSE Commit inicial. 6 years ago
README.md Retoma README antigo. 6 years ago
composer.json Versão 6.3.0 5 years ago
plate.php Versão 6.3.0 5 years ago

README.md

Plate

plate

A theme support plugin for WordPlate.

The Plate plugin disables features in the WordPress administrator dashboard your client doesn't need. It provides helpers such as customization of the dashboard footer text and custom login form logo.

Monthly Downloads Latest Version

Installation

Require this package, with Composer, in the root directory of your project.

$ composer require wordplate/plate

Theme Support

Below is a list of handy helpers this plugins provides such as disabling menu items and dashboard widgets.

plate-disable-menu

This feature accepts an array of menu items you want to disable in the administrator dashboard.

add_theme_support('plate-disable-menu', [
    'edit-comments.php', // comments
    'index.php', // dashboard
    'upload.php', // media
    'edit.php?post_type=acf-field-group', // custom post type
    'tools.php?page=wp-migrate-db', // plugin in tools
    'options-general.php?page=menu_editor', // plugin in settings
    'admin.php?page=theseoframework-settings', // plugin in menu root
]);

plate-disable-dashboard

This feature accepts an array of dashboard widgets you want to disable on the administrator dashboard.

add_theme_support('plate-disable-dashboard', [
  'dashboard_activity',
  'dashboard_incoming_links',
  'dashboard_plugins',
  'dashboard_primary',
  'dashboard_quick_press',
  'dashboard_recent_comments',
  'dashboard_recent_drafts',
  'dashboard_secondary',
  //'dashboard_right_now',
]);

plate-disable-toolbar

This feature accepts an array of menu toolbar items you want to disable in the administrator dashboard.

add_theme_support('plate-disable-toolbar', [
   'archive',
   'comments',
   'wp-logo',
   'edit',
   'appearance',
   'view',
   'new-content',
   'updates',
   'search',
]);

This feature allows you to set the default permalink structure in the theme.

add_theme_support('plate-permalink', '/%postname%/');

This feature allows you to replace the login WordPress logo with a custom one.

add_theme_support('plate-login-logo', get_theme_file_uri('assets/images/logo.png'));

This feature allows you to set a custom footer text in the WordPress administrator dashboard.

add_theme_support('plate-footer-text', 'Thank you for creating with WordPlate.');

License

MIT © Vincent Klaiber