Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

pt-br:Painel Aparência-Editor


cb-help.png
Artigo parcialmente traduzido ou que precisa de tradução
Este documento está parcialmente traduzido ou precisa ser traduzido. Toda a tradução é feita por voluntários e você pode ser um deles.
ParticiparArtigos para traduzirFórum de SuporteTodos os Artigos

Aparência → Editor

Among the many user editable files in a standard WordPress installation are a Theme's Template and Stylesheet files. The Appearance Editor SubPanel allows you to edit those Theme files.

tela-editor-temas.png
O editor de temas

Editar Temas

The built-in Theme Editor allows you to view or change (see next paragraph) any code kept in a Theme Template or Stylesheet files. The particular file contents are displayed in the large text (or edit) box that dominates this SubPanel.

If a specific file is writeable (see Changing File Permissions), changes can be made, and saved. If a file is not writeable, the message You need to make this file writable before you can save your changes. See the Codex for more information. will be displayed. Of course, you will need to change the File Permissions before changes can be saved.

The name of the Theme file being editted is diplayed at the top of the text box. If the full text of the file cannot be viewed, a scroll bar to the right of the text box is provided. Since Theme files are pure text, no images or pictures can be inserted into the text box.

Select theme to edit 

From this pull-down box, select the Theme that needs to be edited and click the Select button on the right. Once the Select button is clicked that Themes Template and Styles files will be listed on the right side of the text box and the Stylesheet (style.css) file for that Theme will be placed in the text box.

Theme Files 

Listed to the right of the large text box is a list of the Theme Template or Stylesheet files that can be editted. Click on any of the file links to place the text of that file in the edit box.

Update File

Remember to click this button to save the changes you have made to the file. After clicking this button you should see a splash message at the top of the screen saying File Editted Successfully. If you don't see that message, then your changes are not saved! Note that if a file is not writeable the Update File button will not be available.

Voltar para Painéis de Administração

Painéis de Administração do WordPress
VE
p-painel.png p-postagens.png p-midia.png p-paginas.png p-comentarios.png
Painel
Atualizações
Todos os Posts
Adicionar Novo
Categorias
Tags
Biblioteca
Adicionar Novo
Temas
Widgets
Menus
Fundo
Cabeçalho
Editor
Comentários
p-aparencia.png p-plugins.png p-usuarios.png p-ferramentas.png p-configuracoes.png
Temas
Widgets
Menus
Fundo
Cabeçalho
Editor
Plugins Instalados
Adicionar Novo
Editor
Todos os Usuários
Adicionar Novo
Seu Perfil
Importar
Exportar
Geral
Escrita
Leitura
Discussão
Mídia
Links Permanentes