This file contains hidden or 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
## CHACHEO POR TIPO ## | |
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresByType image/jpg "access 1 month" | |
ExpiresByType image/jpeg "access 1 month" | |
ExpiresByType image/gif "access 1 month" | |
ExpiresByType image/png "access 1 month" | |
ExpiresByType text/css "access 1 month" | |
ExpiresByType application/pdf "access 1 month" |
This file contains hidden or 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
/** | |
* Shortcode para mostrar gists | |
* Originally taken from https://kopepasah.com/tutorial/github-gist-shortcode-for-wordpress/ | |
*/ | |
function gist_shortcode( $atts ) { | |
extract( shortcode_atts( array( | |
'id' => '', | |
'file' => '', | |
), $atts ) ); |
This file contains hidden or 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 | |
/** | |
* Template Name: maqueta grupos discografia | |
* | |
* Discography for music band (GRUPO) | |
*/ | |
//MODEL GRUPOS | |
include_once('dvlp/lib/model/dvlp_grupos_model.php'); | |
$model = new GruposModel(); |
This file contains hidden or 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 | |
add_filter( 'woocommerce_checkout_fields' , 'woo_remove_billing_checkout_fields' ); | |
/** | |
* Remove unwanted checkout fields | |
* | |
* @return $fields array | |
*/ | |
function woo_remove_billing_checkout_fields( $fields ) { |