• Resolved Michael

    (@alchymyth)


    I am attempting to edit functions.php of a child theme (local install), via ‘Apperance – editor’ and this warning comes up:

    Heads up!

    You appear to be making direct edits to your theme in the WordPress dashboard. We recommend that you don’t! Editing your theme directly could break your site and your changes may be lost in future updates. If you need to tweak more than your theme’s CSS, you might want to try making a child theme.

    If you decide to go ahead with direct edits anyway, use a file manager to create a copy with a new name and hang on to the original. That way, you can re-enable a functional version if something goes wrong.

    Go back

    What is wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • That notice should only be displayed if you were editing a parent theme directly.

    Can you please double-, triple-, even quadruple-check that it’s indeed the child theme that’s actually loaded in the editor?

    If you simple clicked on EDITOR, it’s possible a different theme (other than the child theme) got loaded into the editor, hence the warning. In that case you’d have to continue and switch the theme loaded in the editor.

    Thread Starter Michael

    (@alchymyth)

    thanks for the reply.

    could be possible –
    although it was showing the chikd theme’s stylesheet and the child theme’s name in the editor …
    however, now I can’t reproduce the message even after clearing cookies etc…
    so you might be right.
    I’ll keep my eyes open to see if this happens again.

    IT ABSOLUTELY SHOWS THIS ON CHILD THEME EDITS. VERY ANNOYING. ENOUGH WITH THE NANNY WARNINGS ALREADY! I’m going to search every last file in WordPress and destroy this worthless annoyance.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘child theme edit’ is closed to new replies.