WP Manifestindependent plugin directory
manifest / themes / user-theme-options

User Theme Options

A simple WordPress plugin allowing users to use Appearance menu items.

by Enrico Sorcinelli · github.com/enrico-sorcinelli/user-theme-options · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/enrico-sorcinelli/user-theme-options/archive/refs/heads/master.zip

Allow users to use Appearance menu items.

Description

Allow users to use Appearance menu items.

Basic Features

  • User settings managements.
  • Multisite support.

Installation

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/user-theme-options directory, or install the plugin through the WordPress Plugins screen directly.
  2. Activate the plugin through the Plugins screen in WordPress.

Usage

Once the plugin is installed you can control settings in the following ways:

  • Theme Options section of user edit page in Dashboard admin.
  • Theme Options section of user edit page in Network Dashboard admin (Network setting will be overriden by site settings).

API

Constants

Following constants in your wp-config.php file.

USER_THEME_OPTIONS_DEBUG

Turn on debug messages.

USER_THEME_OPTIONS_AUTOENABLE

Define to false to disable (you will have to init it manually).

USER_THEME_OPTIONS_MANAGED_ROLES

Allow to define array of managed roles. Empty array means all roles (except of administrator ).

Hooks

user_theme_options_fix_menu

Action allowin to do other things after plugin menu fixes.

do_action( 'user_theme_options_fix_menu', $user, $theme_options );

Frequently Asked Questions

Does it work with Gutenberg?

Yes

Does it work with multisite installation?

Yes

Screenshots

1. First screenshot.

First screenshot.

2. Second screenshot.

Second screenshot.

Changelog

For plugin changelog, please see the Releases page on GitHub.