Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3232
    indug
    Participant

    So, I have installed and activated the Orbisius Child Theme Creator plugin. But when I clicked on the editor, this text comes up: “Theme editor is disabled due to DISALLOW_FILE_EDIT constant is set to true in wp-config.php.” – So yeah, I can’t customize the theme I am using, which is Extra.

    I am kinda new to child themes, so I don’t really know what to do here. Help a fellow out?

    #3233
    Slavi Marinov
    Keymaster

    Hi,

    Please, check your wp-config.php for DISALLOW_FILE_EDIT constant.
    if you see it you have to comment it out or remove it.

    Another option is to conditionally include it by checking for your own ip address.
    Somebody has put this to prevent plugins, themes from being edited due to security reasons.

    Our plugin respects that value.

    Slavi

    #3237
    indug
    Participant

    Okay. Thanks for the answer.

    Should I access it via FTP and download the wp-config.php and remove “Disallow_file_edit” and then upload and replace it with the old wp-config.php?

    Guess that’s the best way around it?

    #3238
    Slavi Marinov
    Keymaster

    Yep. Actually you just need to put two slashes // in front of that line which will disable that line and make it php comment

    #3239
    indug
    Participant

    Great. Thanks a lot!

    #3240
    Slavi Marinov
    Keymaster

    You’re welcome :)

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