Last active
April 22, 2019 10:12
-
-
Save claudioweb/befd134743b3224f18b1 to your computer and use it in GitHub Desktop.
Opções do wp-config.php do Wordpress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Altere isso para true para ativar as opções multisite | |
define( 'WP_ALLOW_MULTISITE', true ); | |
//troca a pasta w-content/uploads | |
define( 'UPLOADS', 'media' ); | |
//definir o tema padrão | |
define( 'WP_DEFAULT_THEME', 'meu-tema' ); | |
//desativar a edição de arquivos via painel | |
define( 'DISALLOW_FILE_EDIT', true ); | |
//desativar revisões de posts | |
define( 'WP_POST_REVISIONS', false ); | |
//desativar o controle de plugins | |
define( 'DISALLOW_FILE_MODS', true); | |
//desativar atualização automática | |
define( 'AUTOMATIC_UPDATER_DISABLED', true ); | |
//pular atualização de temas | |
define( 'CORE_UPGRADE_SKIP_NEW_BUNDLED', true ); | |
//upload somente para administrador | |
define( 'ALLOW_UNFILTERED_UPLOADS', true ); | |
//permitir a instalação de plugins sem os dados do FTP | |
define( 'FS_METHOD' , 'direct' ); | |
// Contact Form 7 | |
define( 'WPCF7_AUTOP', false ); //remover a tag "p" no CF7 | |
define( 'WPCF7_USE_PIPE', false ); //remover a tag "p" no CF7 | |
define ('WPCF7_LOAD_JS', false); //remover javascript no CF7 | |
define ('WPCF7_LOAD_CSS', false); // remover css no CF7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment