Support › MB Settings Page › Seem to be having issues in child theme
I am creating child themes and looking to include custom settings page, but I always seem to be having trouble with getting the functions to work.
This is y function, I do not get any settings pages in the dashboard at all, any ideas?
It works to me, here is what I see:
Did you activate the plugin?
Yeah, plugins are activated, could it be because it is a child theme?
And the the settings.php file I have functions in are working because if I add it to the main functions.php it errors due to conflict as expected
I don't think child theme is the problem, because both plugins don't do anything specific for themes.
Do you see any errors in the log?
I have no errors with debug set true if that is what you mean
Maybe in the Apache error log?
Also, try copy and paste the code above directly into functions.php of the child theme. I did that and it worked.
I did that with no luck, but I have found the problem but not sure if I can fix it
I just uploaded the theme to a live site and it worked, so it appears to be an issue when working locally within DesktopServer...
Any thoughts on what the conflict may be then?
I have no idea with DesktopServer. I'm using XAMPP locally and it works. I thought DesktopSever is similar to XAMPP as they're just the wrapper for Apache, MySQL and PHP.
Yeah runs xampplite I believe, could it be a php version issue?
If I can work out how to get a LAMP stack or VVV running on Arch Linux, I would probably ditch Windows and DS for good...
But I am not that smart lol