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
:root { | |
--ff-heading: 'Playfair Display', serif; | |
--ff-text: 'Source Sans Pro', sans-serif; | |
/* Generate here: https://www.fluid-type-scale.com/ */ | |
--fs-h1: clamp(40px, 6.0vw + 10px, 85px); | |
--fs-h2: clamp(30px, 1.7vw + 23px, 45px); | |
--fs-h3: clamp(25px, 1.3vw + 18px, 35px); | |
--fs-h4: clamp(20px, 1vw + 15px, 28px); |
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 | |
/* The snippet shows the event title and event start date on the WooCommerce cart page | |
* Done with the help of @Rachel ;) | |
*/ | |
add_filter( 'woocommerce_cart_item_name', 'example_testing', 10, 3 ); | |
function example_testing( $title, $values, $cart_item_key ) { | |
$ticket_meta = get_post_meta( $values['product_id'] ); | |
$event_id = absint( $ticket_meta['_tribe_wooticket_for_event'][0] ); |
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 | |
################################################################################ | |
// Custom WordPress Local Config | |
// Use only for Development | |
// https://gist.github.com/bhubbard/8428583 | |
################################################################################ | |
/* Database Connection Info */ | |
define('DB_NAME', ''); | |
define('DB_USER', ''); |
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
# | |
# Sources: | |
# http://stackoverflow.com/questions/7704624/how-can-i-use-gzip-compression-for-css-and-js-files-on-my-websites | |
# http://codex.wordpress.org/Output_Compression | |
# http://www.perun.net/2009/06/06/wordpress-websites-beschleuinigen-4-ein-zwischenergebnis/#comment-61086 | |
# http://www.smashingmagazine.com/smashing-book-1/performance-optimization-for-websites-part-2-of-2/ | |
# http://gtmetrix.com/configure-entity-tags-etags.html | |
# http://de.slideshare.net/walterebert/die-htaccessrichtignutzenwchh2014 | |
# http://de.slideshare.net/walterebert/mehr-performance-fr-wordpress | |
# https://andreashecht-blog.de/4183/ |