Site icon WP Tips

WordPress theme editor missing

New Page

New Page

Falta el WordPress theme editor

Pregunta

Preguntó hace 6 years, 2 months

Modified at 7 months

Visto 87k times

Reportar este anuncio

Esta pregunta muestra el esfuerzo de investigación; it is useful and clear

18

Esta pregunta no muestra ningún esfuerzo de investigación; no está claro o no es util

4

Brand is pregunta.

Mostrar actividad en esta publication.

Try to access the theme editor on WordPress.

The problem is that you don’t encounter the Admin-Appearances – Editor option and you access the page using the enlace http://www.nameofsite.com/wp-admin/theme-editor.php me sale el error:

No tiene permisos suficientes para acceder a esta página.

Estoy conectado como administrador. ¿Por qué no puedo encontrar l’opción de editor?

Cuota

Compare un enlace a esta pregunta

Copy link CC BY-SA 4.0

Mejora esta pregunta

Seguir

Sigue esta pregunta para recibir notifications

edited on August 14, 2020 at 5:32 PM

Pedro Mortensen

30.4k 21 21 gold badges 102 102 plata badges 124 124 bronze badges

requested Jul 17, 2016 at 11:24 PM

user3192304 user3192304

317 1 1 gold badge 3 3 silver badges 9 9 bronze badges

Add a comment | 

10 answers10

Ordenado por: Restablecer a predeterminado

Trend sorting available

Type of trend

The classification por tendencias is based on the method of predetermined classification, por puntaje más alto, pero aumenta los votes que se han producido recientemente, lo que ayuda a obtention respuestas más actualizadas.

Recurre a la clasificación por puntaje más alto si no hay publicaciones en tendencia.

Cambiar a clasificación de tendencia

Puntaje más alto (predeterminado) Tendencia (los votos recientes cuentan más) Fecha de modificación (más reciente primero) Fecha de creación (primero el más antiguo)

This answer is helpful

39

This answer is not helpful

View activity on this post.

Probably deba a iThemes Security y su configuration. As you know only a wp-config and cambia DISALLOW_FILE_EDIT is also wrong.

set(‘DISALLOW_FILE_EDIT’, false);

Or simply disable here: Tablero -> Seguridad -> WordPress Settings -> Configure Settings

Markdown: Disable Archive Editor

To share

Share a link to this answer

Copy link CC BY-SA 3.0

Mejora esta respuesta

Seguir

Sigue esta respuesta para recibir notifications

answered on June 8, 2017 at 9:13 PM

Jirka StencekJirka Stencek

406 1 1 gold badge 5 5 silver badges 2 2 bronze badges

2

Add a comment | 

Report this ad

This answer is helpful

14

This answer is not helpful

View activity on this post.

Abra su archivo wp-config.php y busque

set(‘DISALLOW_FILE_EDIT’, true);

Cambiar verdadero a falso:

set(‘DISALLOW_FILE_EDIT’, false);

To share

Share a link to this answer

Copy link CC BY-SA 4.0

Mejora esta respuesta

Seguir

Sigue esta respuesta para recibir notifications

modified on August 14, 2020 at 5:34 PM

Peter Mortensen

30.4k 21 21 gold badges 102 102 silver badges 124 124 bronze badges

answered on July 18, 2016 at 9:42 PM

stone stone

600 3 3 silver badges 8 8 bronze badges

0

Add a comment | 

This answer is helpful

5

This answer is not helpful

View activity on this post.

Para aquellos que usan Siteground, el alojamiento define(‘DISALLOW_FILE_EDIT’, false);no funcionará. The Sitegound extension provides the SG Security complement of predetermined form in the direct installation of WordPress from cPanel and blocks the Theme Editory option of predetermined form. Plugin Editor

To enable the Editor option of themes and Editor of complementos, solo necessita to disable the option called Disable Themes & Plugins EditorSeguridad del site. Aquí está la ruta para deshabilitar esa opción:

Haga click on SG Security -> Seguridad del site -> Deshabilitar la option Editor de temas y complementos

Eso is todo. Hope that the sea útil.

Share

Share a link to this answer

Copy link CC BY-SA 4.0

Mejora esta respuesta

Seguir

Sigue esta respuesta para recibir notifications

modified on December 15, 2021 at 12:51 PM

answered on December 14, 2021 at 5:38 am

Harsh Prajapati Harsh Prajapati

350 4 4 silver badges 5 5 bronze badges

2

Add a comment | 

Report this ad

This answer is helpful

3

This answer is not helpful

View activity on this post.

In the root directory of your wordpress. Open your wp-config.php file and find

set(‘DISALLOW_FILE_EDIT’, true);

Replace true with false:

set(‘DISALLOW_FILE_EDIT’, false);

To share

Share a link to this answer

Copy link CC BY-SA 4.0

Improve this answer

Follow

Follow this answer to receive notifications

answered on December 18, 2020 at 10:09 am

Atif Tariq Atif Tariq

2,568 26 26 silver badges 33 33 bronze badges

Add a comment | 

This answer is helpful

2

This answer is not helpful

View activity on this post.

If you used Siteground host.. you can enable theme editor that option:

  1. Go to domain.com/wp-admin.php
  2. SG-Security
  3. Website Security
  4. Disable Themes & Plugins Editor Option

I hope this is useful for you.

Share

Share a link to this answer

Copy link CC BY-SA 4.0

Improve this answer

Follow

Follow this answer to receive notifications

answered Jan 21 at 23:26

Khaled Daqqa Khaled Daqqa

31 4 4 bronze badges

Add a comment  | 

This answer is useful

1

This answer is not useful

Show activity on this post.

To enable the theme editor, follow these steps:

  1. Go to Appearance, select one theme (any one you like) and activate it.
  2. In this activated theme, go to Appearance → Editor → select the theme to edit (on the top right, above Templates. There is a drop-down click on it and select your previous theme.)
  3. Sélectionnez maintenant config.php ou demo config.php et supprimez la définition ( ‘DISALLOW_FILE_EDIT, true); code.
  4. Cliquez maintenant sur Mettre à jour le fichier.
  5. Changez maintenant le thème pour votre thème précédent.

Vous pouvez maintenant trouver votre éditeur dans le menu déroulant Apparence.

Partager

Partager un lien vers cette réponse

Copier le lien CC BY-SA 4.0

Améliorer cette réponse

Suivre

Follow this answer to receive notifications

modified on August 14, 2020 at 5:38 PM

Peter Mortensen

30.4k 21 21 gold badges 102 102 silver badges 124 124 bronze badges

answered on October 1, 2017 at 2:54 PM

silpa silpa

43 1 1 bronze badge

2

Add a comment | 

This answer is useful

1

This answer is not useful

Show activity on this post.

The Sucuri WordPress plugin will also disable the editor in its settings under the “Hardening” tab. You can click on Revert Hardening, make your changes, and then go back and apply hardening when you’re finished.

Share

Share a link to this answer

Copy link CC BY-SA 4.0

Improve this answer

Follow

Follow this answer to receive notifications

edited Aug 14, 2020 at 17:39

Peter Mortensen

30.4k 21 21 insignes d’or 102 102 insignes d’argent 124 124 insignes de bronze

répondu le 9 août 2019 à 19:20

Tim Léon Tim Léon

11 2 2 insignes de bronze

Ajouter un commentaire | 

Cette réponse est utile

1

Cette réponse n’est pas utile

Afficher l’activité sur ce post.

Pirater:

Parcourir manuellement : domain.com/wp-admin/theme-editor.php

Partager

Partager un lien vers cette réponse

Copier le lien CC BY-SA 4.0

Améliorer cette réponse

Suivre

Follow this answer to receive notifications

modified on August 14, 2020 at 5:40 PM

Peter Mortensen

30.4k 21 21 gold badges 102 102 silver badges 124 124 bronze badges

answered on September 25, 2019 at 2:38 PM

Rashedul Islam Sagor Rashedul Islam Sagor

1 805 14 14 silver badges 20 20 bronze badges

1

Add a comment | 

This answer is helpful

1

This answer is not helpful

View activity on this post.

Remove the two codes define(‘DISALLOW_FILE_EDIT’, false); set(‘DISALLOW_FILE_MODS’, true);

After this just refresh, the dashboard Theme editor will appear.

Share

Share a link to this answer

Copy link CC BY-SA 4.0

Improve this answer

Follow

Follow this answer to receive notifications

answered Dec 7, 2021 at 8:34

stepiadm stepiadm

11 3 3 bronze badges

Add a comment  | 

This answer is useful

0

This answer is not useful

Show activity on this post.

It is also possible that it is being blocked by a security plugin or the like. In my case SG security (from siteground) had an option active that deactivated the editor.

Share

Share a link to this answer

Copy link CC BY-SA 4.0

Improve this answer

Follow

Follow this answer to receive notifications

answered Nov 29, 2021 at 22:40

eldervl eldervl

1 1 1 bronze badge

Add a comment  | 

Your Answer

Thanks for contributing an answer to Stack Overflow!

But avoid …

To learn more, check out our tips for writing great answers.

Saved Draft

Draft rejected

Sign up or log in

Sign up with Google

Sign up using Facebook

Sign up using your email and password

Submit

Post as guest

Last name

E-mail

Required, but never displayed

Post as guest

Last name

E-mail

Required, but never displayed

Post your answer Ignore

By clicking “Post your answer” you agree to our Terms of Service, Privacy Policy and Cookies Policy

Not the answer you are looking for? Browse other tagged questions

or ask your own question.

Report this ad

Report this ad

Related

529

How do I change or add a theme to Android Studio?

ten

What makes a WordPress theme an “invalid parent theme”?

294

MongoDB – unauthorized admin user

1

You do not have sufficient permissions to access this page error when accessing theme-editor.php

1

WordPress Admin Errors: Missing Pages, Missing Posts, Errors While Editing Pages and Posts

0

Theme editor stylesheet file editor error in WordPress

0

WordPress 5.4 Theme Editor works on LOCAHOST but not on LIVE theme editor site

0

WordPress – This theme is broken. The parent theme is missing. Please install the parent theme “THEME”

0

WordPress Theme Editor File Permissions

Network burning questions

Question feed

Subscribe to RSS

Question feed

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

How to View and Edit WordPress Theme Files

By Kaumil Patel / WordPress Themes

Share via:

Themes, also known as templates, are skins you use to change the appearance of your WordPress website. With a couple clicks of the mouse, you can shift from a plain white design to one of spectacular color and features. However, not all themes are perfect for every design or topic. This is when modification comes into play.

By modifying the theme’s files, you can customize a WordPress website further. Changing font colors, adding image placements and much more can be done by direct editing.

In today’s tutorial, I’m going to show you how to view and edit WordPress theme files. It’s a simple way to effectively make changes to the functionality of your website.

Finding WordPress Theme or Template Files

The hardest part about editing themes is that developers don’t always design them the same way. Sometimes a creator will name a file something different than what another would use. For this tutorial, I’m demonstrating a plugin called, “What The File.”

This plugin will add a feature to your top WordPress bar that allows you to see the file name that is in use. It’s a handy tool if you’re unsure about which file types you need to change to alter the appearance of your site.

From WordPress, go to the Plugins section and install “What The File.”

Once you activate the plugin, you can visit your website. On the top tool bar for WordPress, you’ll see a feature for What The File. Click this tool to display the file types that are being displayed.

Click “Template Parts” to see all the files related to the page you’re viewing. These are the sections you’ll edit if you want to make custom changes in code.

You may want to write the parts of your theme to make it easier to edit later. As you can see from the image above, there are a total of three parts that are going into the front page of this particular website.

All three of these files are used to create the homepage of the ColorMag theme. Your templates may be very much different depending on the developer.

But what theme are you currently using? This tool doesn’t tell you that, unfortunately. To see what theme your site is running, go into the Appearance area of WordPress and note the theme that displays, “Active.”

Editing the Theme’s Files

It’s important to note that any changes you make to a theme may be overwritten should that template receive an update from its developer. However, many website owners get around this problem by using child themes instead.

Also, always remember to create backup copies of your WordPress website before making any manual coding changes. The last thing you want to do is break your site because of bad or incorrect input. A backup will give you the means to recover quickly in the event anything goes wrong.

With that being said, let’s take a look at how you can edit the files of your template.

Using cPanel’s File Manager

An easy way to access the files of WordPress is through cPanel‘s File Manager. This is an editing tool that is built directly into your hosting platform and comes with a variety of features. In fact, you can make an entire backup zip file of your site within File Manager.

To open this tool, click on the “File Manager” link within cPanel.

This will open a window containing all directories and files of your hosting account. Click the folder labeled, “public_html.” This is where your website is located.

Now, most of the edits you’ll probably wind up making will be for the specific theme you’re using. Double-click into the “wp-content” directory.

Click into the directory labeled, “themes.”

Click into the theme directory of the template you’re using. This is the theme you found earlier in the WordPress Appearance section.

To open the File Manager editor, select the file you want to edit and click “Edit.”

A new window will appear allowing you to select the editing method you wish to use. In most cases, you’re simply going to use the “utf-8” encoder built directly into cPanel. From this screen, click the “edit” button to access the file.

A new window will appear of the coding for that particular file. From here, you can make your adjustments in code to customize your site. When you are done with your code adjustments, click the “Save Changes” button on the top right.

Your modifications will then become immediately live on the website.

Using WordPress Editor

WordPress comes with a basic code editor built into its framework. This gives you direct access to theme files so you can make adjustments. However, there are two main disadvantages to using this editor: it’s harder to make backups and you don’t have full access to all website files.

By design, the editor only gives you access to files that pertain to the template. Which is good if that’s all you need to access. If you need to modify other files outside of the theme, you’ll have to either use the File Manager I mentioned earlier or FTP applications. I’ll explain FTP in a moment.

To access the WordPress editor, go to the Appearance area and click, “Editor.”

By default, the theme that is currently active in WordPress will be displayed in this screen. Click the file you want to edit in the right column of the editor.

Perhaps one of the best ways to create a backup of the file you’re about to edit in WordPress is to copy and paste the original code into a text editor. For example, you can copy the code of the file you’re editing directly into Notepad if you’re using a PC and save it.

Make the coding adjustments you want in the main editing screen.

When your changes are complete, click the “Update File” button on the bottom. Your changes will then be reflected onto the website.

Using FTP Programs

File Transfer Protocol, or FTP, is a useful tool if you want to edit files or create backups. These are programs that give you direct access to your hosting files. Although most don’t come with their own editing software, FTP programs still offer a way to dig deep into the workings of the site.

One of the more popular FTP programs you can use for free is that of FileZilla. This application supports Windows, Mac and Linux operating systems and is a quick and easy download and installation. Even if you choose not to use it to edit files, FileZilla is very useful if you want to upload images in bulk or create a complete backup of your site onto a computer.

To set up FTP, you will need to create connection accounts and passwords to access the server. Click “FTP Accounts” in cPanel to create connections to the website.

Customization is Part of WordPress

One of the biggest reasons why WordPress is such a powerful and popular platform for creating websites is because of customization. Whether you’re installing plugins for features or hand-coding elements, the system is quite flexible. Just make sure you’re making the right modifications. Adding too many plugins or using improper coding practices could lead to a compromised website.

How often do you find yourself activating new themes? What kind of features would you like to see in a theme instead of customizing code?

Share via:

Support » Theme: Mesmerize » Missing ‘Theme Editor’ under Appearance

Missing ‘Theme Editor’ under Appearance

Viewing 4 replies – 1 through 4 (of 4 total)

Viewing 4 replies – 1 through 4 (of 4 total)

WordPress theme editor is missing

Ask Question

Asked 6 years, 2 months ago

Modified 7 months ago

Viewed 87k times

Report this ad

This question shows research effort; it is useful and clear

18

This question does not show any research effort; it is unclear or not useful

4

Bookmark this question.

Show activity on this post.

I am trying to access the theme editor in WordPress.

The problem is that I cannot find the option under Admin-Appearances – Editor and when I try to access the page using the link http://www.nameofsite.com/wp-admin/theme-editor.php I get the error:

You do not have sufficient permissions to access this page.

I am logged in as an administrator. Why can’t I find the editor option?

Share

Share a link to this question

Copy link CC BY-SA 4.0

Follow

Follow this question to receive notifications

modified on August 14, 2020 at 5:32 PM

Peter Mortensen

30.4k 21 21 gold badges 102 102 silver badges 124 124 bronze badges

requested Jul 17, 2016 at 11:24 PM

user3192304 user3192304

317 1 1 gold badge 3 3 silver badges 9 9 bronze badges

Add a comment | 

10 answers 10

Sorted by: Reset to default

Trend sorting available

Sorting trend

Trending sorting is based on the default sorting method – by highest score – but it increases votes that have happened recently, helping to surface more up-to-date answers.

It reverts to the highest score sort if no posts are trending.

Switch to trend sorting

Highest score (default) Trending (recent votes count more) Date modified (newest first) Date created (oldest first)

This answer is helpful

39

This answer is not helpful

View activity on this post.

It’s probably because of iThemes Security and its settings. So yes, just go to wp-config and change DISALLOW_FILE_EDIT to false.

set(‘DISALLOW_FILE_EDIT’, false);

Or just disable it here: Dashboard -> Security -> WordPress Tweaks -> Configure Settings

Uncheck: Disable file editor

To share

Share a link to this answer

Copy link CC BY-SA 3.0

Follow

Follow this answer to receive notifications

answered on June 8, 2017 at 9:13 PM

Jirka StencekJirka Stencek

406 1 1 gold badge 5 5 silver badges 2 2 bronze badges

2

Add a comment | 

Report this ad

This answer is helpful

14

This answer is not helpful

View activity on this post.

Open your wp-config.php file and find

set(‘DISALLOW_FILE_EDIT’, true);

Replace true with false:

set(‘DISALLOW_FILE_EDIT’, false);

To share

Share a link to this answer

Copy link CC BY-SA 4.0

Follow

Follow this answer to receive notifications

modified on August 14, 2020 at 5:34 PM

Peter Mortensen

30.4k 21 21 gold badges 102 102 silver badges 124 124 bronze badges

answered on July 18, 2016 at 9:42 PM

stone stone

600 3 3 silver badges 8 8 bronze badges

0

Add a comment | 

This answer is helpful

5

This answer is not helpful

View activity on this post.

For those using Siteground hosting, define(‘DISALLOW_FILE_EDIT’, false); will not work. Sitegound hosting provides SG Security plugin by default on direct WordPress install from cPanel and it blocks Theme Editor and Plugin Editor option by default.

To enable the Theme and Plugin Editor option, you just need to disable the option labeled Disable Theme and Plugin Editor under Site Security. Here is the path to disable this option:

Click SG Security -> Site Security -> Disable theme and plugin editor option

That’s it. I hope you find this useful.

To share

Share a link to this answer

Copy link CC BY-SA 4.0

Follow

Follow this answer to receive notifications

modified on December 15, 2021 at 12:51 PM

answered on December 14, 2021 at 5:38 am

Harsh Prajapati Harsh Prajapati

350 4 4 silver badges 5 5 bronze badges

2

Add a comment | 

Report this ad

This answer is helpful

3

This answer is not helpful

View activity on this post.

In the root directory of your wordpress. Open your wp-config.php file and find

set(‘DISALLOW_FILE_EDIT’, true);

Replace true with false:

set(‘DISALLOW_FILE_EDIT’, false);

To share

Share a link to this answer

Copy link CC BY-SA 4.0

Follow

Follow this answer to receive notifications

answered on December 18, 2020 at 10:09 am

Atif Tariq Atif Tariq

2,568 26 26 silver badges 33 33 bronze badges

Add a comment | 

This answer is helpful

2

This answer is not helpful

View activity on this post.

If you used Siteground host.. you can enable this option for the theme editor:

  1. Go to domain.com/wp-admin.php
  2. SG Security
  3. Site Security
  4. Disable theme and plugin editor option

J’espère que cela vous sera utile.

Partager

Partager un lien vers cette réponse

Copier le lien CC BY-SA 4.0

Suivre

Suivez cette réponse pour recevoir des notifications

répondu le 21 janvier à 23:26

Khaled Daqqa Khaled Daqqa

31 4 4 insignes de bronze

Ajouter un commentaire | 

Cette réponse est utile

1

Cette réponse n’est pas utile

Afficher l’activité sur ce post.

Pour activer l’éditeur de thème, procédez comme suit :

  1. Allez dans Apparence, sélectionnez un thème (celui que vous aimez) et activez-le.
  2. Dans ce thème activé, allez dans Apparence → Éditeur → sélectionnez le thème à modifier (en haut à droite, au-dessus des Modèles. Il y a un menu déroulant, cliquez dessus et sélectionnez votre thème précédent.)
  3. Sélectionnez maintenant config.php ou demo config.php et supprimez la définition ( ‘DISALLOW_FILE_EDIT, true); code.
  4. Now click Update File.
  5. Now change the theme to your previous theme.

You can now find your editor in the Appearance drop-down menu.

To share

Share a link to this answer

Copy link CC BY-SA 4.0

Follow

Follow this answer to receive notifications

modified on August 14, 2020 at 5:38 PM

Peter Mortensen

30.4k 21 21 gold badges 102 102 silver badges 124 124 bronze badges

answered on October 1, 2017 at 2:54 PM

silpa silpa

43 1 1 bronze badge

2

Add a comment  | 

This answer is useful

1

This answer is not useful

Show activity on this post.

The Sucuri WordPress plugin will also disable the editor in its settings under the “Hardening” tab. You can click on Revert Hardening, make your changes, and then go back and apply hardening when you’re finished.

Share

Share a link to this answer

Copy link CC BY-SA 4.0

Follow

Follow this answer to receive notifications

edited Aug 14, 2020 at 17:39

Peter Mortensen

30.4k 21 21 gold badges 102 102 silver badges 124 124 bronze badges

answered on August 9, 2019 at 7:20 PM

Tim Leon Tim Leon

11 2 2 bronze badges

Add a comment | 

This answer is helpful

1

This answer is not helpful

View activity on this post.

To hack:

Browse manually: domain.com/wp-admin/theme-editor.php

To share

Share a link to this answer

Copy link CC BY-SA 4.0

Follow

Follow this answer to receive notifications

modified on August 14, 2020 at 5:40 PM

Peter Mortensen

30.4k 21 21 gold badges 102 102 silver badges 124 124 bronze badges

answered on September 25, 2019 at 2:38 PM

Rashedul Islam Sagor Rashedul Islam Sagor

1 805 14 14 silver badges 20 20 bronze badges

1

Add a comment | 

This answer is helpful

1

This answer is not helpful

View activity on this post.

Supprimez les deux codes define(‘DISALLOW_FILE_EDIT’, false); définir (‘DISALLOW_FILE_MODS’, vrai);

After this just refresh, the dashboard Theme editor will appear.

Share

Share a link to this answer

Copy link CC BY-SA 4.0

Follow

Follow this answer to receive notifications

answered Dec 7, 2021 at 8:34

stepiadm stepiadm

11 3 3 bronze badges

Add a comment  | 

This answer is useful

0

This answer is not useful

Show activity on this post.

It is also possible that it is being blocked by a security plugin or the like. In my case SG security (from siteground) had an option active that deactivated the editor.

Share

Share a link to this answer

Copy link CC BY-SA 4.0

Follow

Follow this answer to receive notifications

answered Nov 29, 2021 at 22:40

eldervl eldervl

1 1 1 bronze badge

Add a comment  | 

Your Answer

Thanks for contributing an answer to Stack Overflow!

But avoid …

To learn more, check out our tips for writing great answers.

Saved Draft

Draft rejected

Sign up or log in

Sign up with Google

Sign up using Facebook

Sign up using your email and password

Submit

Post as guest

Last name

E-mail

Required, but never displayed

Post as guest

Last name

E-mail

Required, but never displayed

Post your answer Ignore

By clicking “Post your answer” you agree to our Terms of Service, Privacy Policy and Cookies Policy

Not the answer you are looking for? Browse other tagged questions

or ask your own question.

Report this ad

Report this ad

Related

529

How do I change or add a theme to Android Studio?

ten

What makes a WordPress theme an “invalid parent theme”?

294

MongoDB – unauthorized admin user

1

You do not have sufficient permissions to access this page error when accessing theme-editor.php

1

WordPress Admin Errors: Missing Pages, Missing Posts, Errors While Editing Pages and Posts

0

Theme editor stylesheet file editor error in WordPress

0

WordPress 5.4 Theme Editor works on LOCAHOST but not on LIVE theme editor site

0

WordPress – This theme is broken. The parent theme is missing. Please install the parent theme “THEME”

0

WordPress Theme Editor File Permissions

Preguntas calientes of the red

Feed of preguntas

Subscribe to an RSS

Feed of preguntas

To subscribe to an RSS feed, copy and follow this URL as an RSS reader.


Video WordPress theme editor missing

Exit mobile version