I was wondering if some of you can help me to understand how do you add settings page in AWPS theme in Object Oriented way ?

About AWPS Theme: A Modern WordPress Starter Theme for savvy Developers
More : https://github.com/Alecaddd/awps

I tried doing so but I got bunch of error which was like next to impossible for me to solve therefore thought to ask here :)

Here is my code: https://codeshare.io/29XD0M

Above code works good procedural way when I include / require this file in theme’s functions.php but I would like to make it in PHP Class & used as Object with Names space.

Any help would be greatly appreciated

Best Regards,

Read more here: Add theme settings page in AWPS theme OOP way


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: