• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
advanton usa logo

Advanton USA

MENUMENU
  • Home
  • What is Advanton
    • Create Online Presence
    • What is Website Design?
    • WordPress Tutorials
  • For Contractors
  • Solutions
    • Small Business Website design services
    • Business Website Free
    • Sell Products Online
    • Yodle Alternative
    • Wix Alternatives
    • Marketing for hvac companies
    • Painting Leads
    • Insurance Leads
    • Sales Leads for Flooring Contractors
    • Web Design Company in Maryland
    • Website Design for Clothing Company
    • Website Design for Real Estate
    • Business Banking
  • Business Ideas
  • Success Stories
  • Resources
    • How to guides
    • Small Business
    • Small Business Marketing
    • Market Research
    • online presence
    • US Small Businesses
    • Make Life Better
    • Banking
    • Internet
    • Google My Business
    • Grow with Google
    • World Facts
    • Google Pixel
    • Apple iOS updates
    • Uncategorized
  • Pricing
  • Contact Advanton
Home » How to Disable Theme Editor and Plugin Editor in WordPress

How to Disable Theme Editor and Plugin Editor in WordPress

December 7, 2018 2 Comments

disable theme editor

One of the most amazing features that WordPress offers is the ability to install themes and plugins and create a website in minutes. However, sometimes we may want to make changes to the theme or plugins by modifying the code and for this WordPress allows direct access to the themes and plugins’ files from the WordPress Dashboard to edit it as per needs. This feature is pretty handy but can be dangerous too if you are a beginner and may ruin the entire website if you don’t how to handle the code. So, let’s find out how to disable the theme editor and plugin editor in WordPress Admin Panel.

How to Disable Theme editor and Plugin editor in WordPress

WordPress allow users to edit the theme files and plugin files through the admin panel and this feature is enabled by default in all WordPress installations.

Many times users end up ruining the entire website by trying to edit the WordPress themes code or Plugin codes and for this reason you may want to disable this feature.

It is always a good idea to disable the theme editor and plugin editor in WordPress Admin panel to prevent your website from getting screwed up.

In this article, we will share with you a one line code that will disable theme and plugin editors functionality from WordPress.

So, let’s find out how to disable to the theme editor and plugin editor in WordPress with a single line of code.

  1. Access your wp-config.php file and open it. Instructions to locate your wp-config.php are in this post – How to Fix error establishing database connection in WordPress
  2. Open or choose the edit option to edit wp-config.php file and paste the following code anywhere in the file on a new line:
1 define( ‘DISALLOW_FILE_EDIT’, true );

Tip: wp-config.php file is located in the root folder of your WordPress install whether you access the hosting server through FTP or File manager in cPanel.

3. Save the file and upload back to the root folder through the file manager or FTP.

You are done with the changes and once you refresh the WordPress Admin dashboard you would notice that the theme editor and plugin editor functionality is disabled.

How to find WordPress login URL

How to Migrate WordPress from old web host to a new one

How to install WordPress Theme

Elementor Templates for WordPress

21 Best Websites to Download free WordPress Themes

23 Best Web Hosting for WordPress

Note: Build a Strong Online Presence with Business Website Free , Free company Emails and Free Success marketing for your small business like other 10000 small business owners. Get Started Free!

Filed Under: How to guides

Reader Interactions

Comments

  1. Eddy says

    January 7, 2020 at 1:42 pm

    These are really helpful steps to disable Theme editor in WordPress. Thanks so much!

    Reply
  2. Molly Hanks says

    February 25, 2020 at 2:34 pm

    Hello there, I just want to thank you for writing this post and explaining so well on how to disable theme editor in wordpress. Really helpful!

    Thanks for sharing!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Get 100% Local Customers, Local Leads & Income

submit guest post

Contact Us

starbucks franchise
topgolf franchise
toyota dealership franchise
tile contractor los angeles
plumbers boston ma
trucking logistics new jersey

Local & Small Businesses in the U.S.

High Risk Truck and Auto Insurance in U.S.

Insure Quest, Insurance Agency, FL, TX, CA, GA, MD, NJ

Call:813-838-3994

---------------------------------------------

Guaranteed Small Business Loans and Equipment Finance

Ready Finance LLC, New Jersey

Feel free to Call: 201-960-8889

---------------------------------------------

Experienced Employment Attorney Minnesota

Satre Law Firm Minnesota

Call:651-212-4919

---------------------------------------------

Low Cost Trucking and Shipping Company in the U.S.

VJS Logistics

Call:201-463-6520

---------------------------------------------

Solve Relationship Issues and Get what you want in Life

Relationship Coach and Personal Life Coach

Call:804-491-8082

---------------------------------------------

Tile Work South Bay, Los Angeles, CA

Tile Repair and Installation Contractor in Los Angeles

Call:310-748-9118

---------------------------------------------

Customs and Trade Logistics, LLC

Import and Customs Clearance Agent in USA

Call:443-955-6556

---------------------------------------------

VS Remodeling, Boston, MA

Office, Home Remodeling and General Contractor in Boston, MA

Call:617-612-5631

---------------------------------------------

Computer, Laptop and iPhone Reapir in O'Fallon and Saint Peters, Missouri

KinneyKare Computer and iPhone Repair

Call:636-362-4150

---------------------------------------------

Licensed Electrician for Residential and Commercial Work in Boston, MA

AV Electrical Systems

Call:508-494-7323

---------------------------------------------

Tile Installation and Flooring Contractor in Scottsdale, AZ

Ventana Tile and Custom Flooring

Call:760-291-7021

---------------------------------------------

Fire Alarm and Secuirty Cameras installation in Boston, MA

Boston Fire Alarm Inc.

Call:781-559-3238

---------------------------------------------

Body Massage Therapy and Skin care Facials in Brookfield, WI

Skin Deep SPA Wisconsin

Call:262-202-8242

---------------------------------------------

Local Plumbers in Boston, MA

Good Plumbing Boston MA

Call:617-849-3722

---------------------------------------------

Shot Blasting Machine Manufacturers

Maan Global Industries

Footer

About ADVANTON

ADVANTON empowers small businesses with the world’s leading CLOUD solution for local business marketing. Our technology solves one major challenge for every small business and that is acquiring local customers. Over 10,000 small businesses generate business leads and revenues every month. Are you the next?

Follow us

  • facebook
  • twitter
  • yelp

Our Associations

Contact Us

Email: info[at]advanton.com

From rest of the world, email us: info[at]advanton.com

Copyright © 2025 — ADVANTON • All rights reserved. • Privacy Policy

  • About Us
  • Advertising on Advanton
  • Contact Advanton
  • sitemap
  • Marketing For Contractors
  • Roofing leads
  • Pest Control Leads
  • Los Angeles Contractor Leads
  • New Jersey Contractor Leads
  • Boston Contractor Leads
  • Houston Contractor Leads
  • Arizona Contractor Leads
  • Maryland Contractor Leads
  • Orlando Contractor Leads
  • Hire Boston General Contractors