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
global: | |
sql_adapter: "default" | |
local: | |
vhost: "http://PROJECT.dev" | |
wordpress_path: "/srv/www/PROJECT/htdocs" # use an absolute path here | |
database: | |
name: "PROJECT_DB_NAME" | |
user: "external" |
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 | |
/** | |
* WordPress Query Comprehensive Reference | |
* Compiled by luetkemj - luetkemj.com | |
* | |
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query | |
* Source: http://core.trac.wordpress.org/browser/tags/3.3.1/wp-includes/query.php | |
*/ | |
$args = array( |
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 | |
/** | |
* Disable Yoast SEO's darn admin bar icon | |
*/ | |
function yoast_hide_admin_bar() { | |
global $wp_admin_bar; | |
$wp_admin_bar->remove_menu('wpseo-menu'); | |
} |
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 JSON sitemap for use with UnCSS | |
*/ | |
function show_sitemap() { | |
if (WP_ENV === 'development' && isset($_GET['show_sitemap'])) { | |
NewerOlder