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
<?php | |
//----- Environment -----// | |
define('WP_ENV', 'local'); | |
//----- Database -----// | |
define('DB_NAME', '<dbname>'); | |
define('DB_USER', '<dbuser>'); | |
define('DB_PASSWORD', '<dbpassword>'); | |
define('DB_HOST', '<dbhost>'); |
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
<?php | |
//----- Environment -----// | |
define('WP_ENV', 'production'); | |
//----- Database -----// | |
define('DB_NAME', ''); | |
define('DB_USER', ''); | |
define('DB_PASSWORD', ''); | |
define('DB_HOST', ''); |
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
<div class="addthis_sharing_toolbox" data-url="http://customurl.com" data-title="customtitle"></div> | |
<script type="text/javascript"> | |
var addthis_share = addthis_share || {}; | |
addthis_share = { | |
passthrough: { | |
twitter: { | |
via: 'twitteraccount', | |
text: 'lorem ipsum' | |
} |
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
<div class="addthis_toolbox addthis_32x32_style addthis_default_style"> | |
<a class="addthis_button_email"></a> | |
<a class="addthis_button_facebook"></a> | |
<a class="addthis_button_twitter"></a> | |
<a class="addthis_button_google_plusone_share"></a> | |
<a class="addthis_button_linkedin"></a> | |
<a class="addthis_button_facebook_like"></a> | |
<a class="addthis_button_tweet"></a> |
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
<?php | |
function custom_tinymce_styles( $settings ) { | |
$style_formats_original = json_decode( $settings['style_formats'] ); | |
$style_formats = array( | |
// Inline style | |
array( | |
'title' => 'Color Red', | |
'inline' => 'span', |
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
<?php | |
// Load locale database configuration | |
require_once realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'wp-config-locale.php'); |
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
<?php | |
// Generate an admin scheme using the generator here: http://themergency.com/generators/admin-color-scheme-generator/ | |
// Copy the css file in css/admin.css | |
// Then include this function in your functions.php | |
// And setup the four hexadecimal colors | |
function custom_admin_color_schemes() { | |
$theme_dir = get_template_directory_uri(); | |
wp_admin_css_color( 'nameofscheme', 'Name of Scheme', | |
$theme_dir . 'css/admin.css', |
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
path: wordpress | |
url: http://project.l | |
core download: | |
locale: fr_FR | |
core config: | |
dbuser: project | |
dbpass: project | |
dbname: project |
OlderNewer