WordPress.org

Ready to get started?Download WordPress

Forums

Add an Editor to theme (5 posts)

  1. SickSquirrel
    Member
    Posted 7 months ago #

    I have a two-year old site I'm updating. It runs 3.8, I finally got to editing the theme. It's a theme with a child. I found someone to help me but I ran into a HUGE problem.

    He sent a screenshot showing where to edit the header links. I could not find it and now I know why.

    Under Appearances I have Themes, Customize, Menus and Widgets. He also has Editor.

    What do I do to get Editor??? Can I download a file from another theme or are they theme-specific? Is it a single file or others to get it to show in the dashboard?

  2. webbrewers
    Member
    Posted 7 months ago #

    The editor link should be available in any theme to the appropriate level user (admin). Check under users to see what level you're at. And try the editor url to see if you can access:
    domain.com/wp-admin/theme-editor.php

  3. Bill
    Member
    Posted 7 months ago #

    If you determine that you do have full admin capabilities, but the site was set up by someone else, you might also check your wp-config file for define('DISALLOW_FILE_EDIT', true);
    which is sometimes used as a security measure. Setting it to false will display the editor again. Many of us prefer to use other editors by default anyway.

  4. SickSquirrel
    Member
    Posted 7 months ago #

    I am admin; no other users. I logged in, Went to the URL theme-editor.php under wp-admin and got

    You do not have sufficient permissions to access this page.

    I checked my config file

    //Disable File Edits
    define('DISALLOW_FILE_EDIT', true);

    Let me try to edit. I'm not on my Windows laptop; I'm on iPad and have never done anything in the FTP app.

    Woo! Thank you both so much! Fixed, learned, and know for future themes how to resolve. Is that configurable or just that way until you edit?

  5. Bill
    Member
    Posted 7 months ago #

    As long as that is set to true in wp-config, the editor will be hidden, and the opposite of course. You can change it at will. Glad you worked it out.

    BTW, keep a copy of that file in case you ever need a clean one.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.