Custom Fields
Re-Envisioned
Support MB Settings Page Seem to be having issues in child theme

This topic contains 21 replies, has 2 voices, and was last updated by  Anh Tran 3 years, 2 months ago.

  • Creator
    Topic
  • #3407
    Resolved
    carassius
    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

Viewing 10 replies - 1 through 10 (of 21 total)
  • Author
    Replies
  • #3409

    Anh Tran
    Keymaster

    It works to me, here is what I see:

    http://prntscr.com/bekqk2

    Did you activate the plugin?

    #3411

    carassius
    Participant

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

    #3413

    carassius
    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 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

    carassius
    Participant

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

    #3417

    Anh 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

    carassius
    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 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

    carassius
    Participant

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

    #3421

    carassius
    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

Viewing 10 replies - 1 through 10 (of 21 total)

You must be logged in to reply to this topic.