Seem to be having issues in child theme

Support MB Settings Page Seem to be having issues in child themeResolved

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #3407
    carassiuscarassius
    Participant

    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?

    https://ghostbin.com/paste/9jcpp

    #3409
    Anh TranAnh Tran
    Keymaster

    It works to me, here is what I see:

    http://prntscr.com/bekqk2

    Did you activate the plugin?

    #3411
    carassiuscarassius
    Participant

    Yeah, plugins are activated, could it be because it is a child theme?

    #3413
    carassiuscarassius
    Participant

    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

    #3414
    Anh TranAnh Tran
    Keymaster

    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?

    #3416
    carassiuscarassius
    Participant

    I have no errors with debug set true if that is what you mean

    #3417
    Anh TranAnh Tran
    Keymaster

    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.

    #3418
    carassiuscarassius
    Participant

    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?

    #3419
    Anh TranAnh Tran
    Keymaster

    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.

    #3420
    carassiuscarassius
    Participant

    Yeah runs xampplite I believe, could it be a php version issue?

    #3421
    carassiuscarassius
    Participant

    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

    #3422
    Anh TranAnh Tran
    Keymaster

    Lol. 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 🙂

    #3423
    carassiuscarassius
    Participant

    Well, think I will switch to using customizer controls for now seems as doesnt work with DS

    #3424
    Anh TranAnh Tran
    Keymaster

    I'm downloading DS to test 🙂

    #3425
    carassiuscarassius
    Participant

    awesome, cheers

Viewing 15 posts - 1 through 15 (of 22 total)
  • You must be logged in to reply to this topic.