MPWP Settings
A plugin used in combination with mpwp-theme
by Matt Patterson · github.com/mattpatterson94/mpwp-settings
★ 0stars
100composer installs
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/mattpatterson94/mpwp-settings/releases/download/1.0.0/mpwp-settings-manual-install.zipAlso on Packagist as mattpatterson94/mpwp-settings:
composer require mattpatterson94/mpwp-settingsFrom the readme
MPWP SETTINGS WORDPRESS PLUGIN
This plugin was created to add generic settings pages to wordpress sites, to reduce repetition.
How it works
This plugin installs Advanced Custom Fields when running composer install, in order to create options pages for any wordpress site this plugin is activated on. This makes starting out new wordpress sites a lot easier, and you don't have to create any standard wordpress options pages.
Current Options
These are the current option pages set up currently.
- Theme settings
- General
- Social media
- Footer settings
- Slides
Current Shortcodes
There are shortcodes available via this plugin that can be used in the theme.
- General
- [mpwp-setting setting="example"]
- [logo]
- [phone-number]
- [email-address]
- Social media
- [social-url product="example"]
- Footer settings
- [copyright-text]
Adding new options
To create a new options page, there's a few lines of code needed.
- Create a new options file in options for the new page
- Refer to this guide for setting up a new option page, or look at an existing one in the plugin
Creating option fields
- To create the fields for the options page, log into the wordpress sit
Read the full README on GitHub →