Seem to be having issues in child theme
Support › MB Settings Page › Seem to be having issues in child themeResolved
- This topic has 21 replies, 2 voices, and was last updated 9 years, 5 months ago by
Anh Tran.
-
AuthorPosts
-
June 10, 2016 at 11:40 AM #3407
carassius
ParticipantI 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?
June 10, 2016 at 12:36 PM #3409Anh Tran
KeymasterJune 10, 2016 at 12:38 PM #3411carassius
ParticipantYeah, plugins are activated, could it be because it is a child theme?
June 10, 2016 at 12:40 PM #3413carassius
ParticipantAnd 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
June 10, 2016 at 12:41 PM #3414Anh Tran
KeymasterI 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?
June 10, 2016 at 12:45 PM #3416carassius
ParticipantI have no errors with debug set true if that is what you mean
June 10, 2016 at 12:46 PM #3417Anh Tran
KeymasterMaybe in the Apache error log?
Also, try copy and paste the code above directly into
functions.phpof the child theme. I did that and it worked.June 10, 2016 at 12:50 PM #3418carassius
ParticipantI 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?
June 10, 2016 at 12:52 PM #3419Anh Tran
KeymasterI 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.
June 10, 2016 at 12:54 PM #3420carassius
ParticipantYeah runs xampplite I believe, could it be a php version issue?
June 10, 2016 at 12:55 PM #3421carassius
ParticipantIf 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
June 10, 2016 at 12:56 PM #3422Anh Tran
KeymasterLol. I don't run VVV, neither. It's more complicated than it should be. On Mac, I'm using Valet which is super simple.
On Windows, I think XAMPP is more stable than other software. You should think switching to it 🙂
June 10, 2016 at 1:01 PM #3423carassius
ParticipantWell, think I will switch to using customizer controls for now seems as doesnt work with DS
June 10, 2016 at 1:04 PM #3424Anh Tran
KeymasterI'm downloading DS to test 🙂
June 10, 2016 at 1:05 PM #3425carassius
Participantawesome, cheers
-
AuthorPosts
- You must be logged in to reply to this topic.