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
# All Agents | |
User-agent: * | |
Disallow: /blogs.dir | |
Disallow: /cgi-bin | |
Disallow: /wp-content/cache | |
Disallow: /wp-content/languages | |
Disallow: /wp-content/mu-plugins | |
Disallow: /wp-content/plugins | |
Disallow: /wp-content/upgrade | |
Disallow: /wp-admin |
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 | |
/** | |
* Get Terms used by Post Type | |
* Fetches only terms actually used by posts of a specified post type | |
* | |
* @param string $taxonomy the taxonomy to look for terms | |
* @param string $post_type the post type to match the taxonomy terms found | |
* | |
* @return array the query result (an array of taxonomy terms as objects) |
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
// @see http://stackoverflow.com/questions/11320615/disable-browser-native-datepicker | |
input::-webkit-calendar-picker-indicator{ | |
display: none; | |
} | |
input[type="date"]::-webkit-input-placeholder{ | |
visibility: hidden !important; | |
} |
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 automatically adds query strings to enqueued static resources like stylesheets and scripts. | |
* This is meant for caching reasons (e.g. if a script version changes, | |
* it should prevent the client to use a cached copy of the old one). | |
* However, this feature can be omitted to improve site performance. | |
*/ | |
function remove_query_strings_questionmark( $src ){ |
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
/* Minifies HTML and removes comments (except IE tags and comments within script tags) | |
* | |
* To disable compression of code portions, use '<!--wp-html-compression no compression-->' tag | |
* | |
* @see http://forrst.com/posts/Wordpress_Minify_output_HTML-29q | |
* @see http://www.intert3chmedia.net/2011/12/minify-html-javascript-css-without.html | |
*/ | |
class WP_HTML_Compression | |
{ | |
// Settings |