Bat Theme Options
Tags: custom theme options, theme options, custom plugin
Requires at least: 3.0.1
Tested up to: 5.7
Stable tag: 5.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Description
Boilerplate used: https://wppb.me/
Feel free to take this code and use it as it is or parts of it :)
Installation
Download repo and add it to .zip and install as a normal plugin.
Plugin name is "Bat Theme Options" (cause I like batman! :P)
Screenshots
Options included
Ordered list:
- H1 - h6 and P "font" styles
- Primary, Secondary and Neutral: default, light and dark versions
- Primary, Secondaty and Tertiary type of button styles
Features
- PHP to SCSS compiler - Set SCSS variables from PHP and compile scss based on that. Check the file /admin/partials/bat-theme-options-compiler.php to info of all variables already setup and edit them as required.
- Custom menu page in admin section
- Reset options to default - Currently /admin/partials/bat-reset-vars-defaults.php contains empty array but it can be pre-filled to set options to default
- Set wordpress options as serialized data
- Tabbed structure to differentiate style elements
TO DO
- Style the admin area to be more user friendly
- Optimize code (I don't think this will ever be "Not TO DO :D")
- More things that i haven't realized
Pull Requests
Y'all are very welcomed to make a fork of this repo and submit any PRs that can improve the performance of this plugin. Just kindly don't change it's name :P


