How to create Custom Setting Page?

You can create a custom settings page by class AddMenuPage().

 

Files need to add:

classes/class-menu-page.php
classes/class-form-fields-generator.php

Use on the theme:

Copy these fileĀ under “includes” directory and you can add in your theme directory as follows under “functions.php” file

require get_template_directory() . '/includes/class-form-fields-generator.php';
require get_template_directory() . '/includes/class-menu-page.php';

Main CSS & Js file need to add

css/pickplugins-options-framework.css
js/pickplugins-options-framework.js

3rd Party CSS and JS file as need

css/codemirror.css
css/fontawesome.min.css
css/jquery-ui.css
css/select2.min.css

js/select2.min.js
js/codemirror.min.js
js/form-field-dependency.js

 

Example:

Please see the following file is providing a demo input field under the category

example/functions-menu-page.php