Skip to content

Instantly share code, notes, and snippets.

@eduardopintor
Last active December 11, 2015 18:25
Show Gist options
  • Save eduardopintor/8b93a18b35659ec71890 to your computer and use it in GitHub Desktop.
Save eduardopintor/8b93a18b35659ec71890 to your computer and use it in GitHub Desktop.
<?php
/**
* Custom WordPress configurations on "wp-config.php" file.
*
* This file has the following configurations: MySQL settings, Table Prefix, Secret Keys, WordPress Language, ABSPATH and more.
* For more information visit {@link https://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php} Codex page.
* Created using {@link http://generatewp.com/wp-config/ wp-config.php File Generator} on GenerateWP.com.
*
* @package WordPress
* @generator GenerateWP.com
*/
/* MySQL settings */
define( 'DB_NAME', '' );
define( 'DB_USER', '' );
define( 'DB_PASSWORD', '' );
define( 'DB_HOST', '' );
define( 'DB_CHARSET', 'utf8' );
/* MySQL database table prefix. */
$table_prefix = 'wp_';
/* Authentication Unique Keys and Salts. */
/* https://api.wordpress.org/secret-key/1.1/salt/ */
define('AUTH_KEY', '');
define('SECURE_AUTH_KEY', '');
define('LOGGED_IN_KEY', '');
define('NONCE_KEY', '');
define('AUTH_SALT', '');
define('SECURE_AUTH_SALT', '');
define('LOGGED_IN_SALT', '');
define('NONCE_SALT', '');
/* WordPress Localized Language. */
define( 'WPLANG', 'pt_BR' );
/* Custom WordPress URL. */
define( 'WP_SITEURL', '' );
define( 'WP_HOME', '' );
define( 'UPLOADS', 'media' );
define( 'WP_CONTENT_URL', WP_SITEURL.'/app' );
define( 'WP_CONTENT_DIR', '/path/of/app' );
define( 'WP_PLUGIN_URL', '/app/plugins' );
/* Disable Post Revisions. */
define( 'WP_POST_REVISIONS', false );
/* OR */
// define( 'WP_POST_REVISIONS', '2' );
/* Media Trash. */
define( 'MEDIA_TRASH', true );
/* Trash Days. */
define( 'EMPTY_TRASH_DAYS', '1' );
/* Disabel Contact form 7 js and css style */
// define( 'WPCF7_LOAD_JS', false );
// define( 'WPCF7_LOAD_CSS', false );
/* PHP Memory */
define( 'WP_MEMORY_LIMIT', '64M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
/* Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
/* Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment