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
// The keys correspond with columns in the `facetwp_index` table | |
$dateparams = array( | |
'facet_name' => 'keydate' | |
); | |
//change the way the date works for key date on calendar page | |
function my_facetwp_calendar_row( $dateparams, $class ) { | |
if ( 'keydate' == $dateparams['facet_name'] ) { | |
$raw_value = $dateparams['facet_value']; | |
$dateparams['facet_display_value'] = date( 'm/j/Y', strtotime( $raw_value ) ); |
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
@mixin bp($point) { | |
@if $point == phone { | |
@media only screen and (min-width:320px) and (max-width:479px) { @content; } | |
} | |
@else if $point == small_tablet { | |
@media only screen and (min-width:480px) and (max-width:767px) { @content; } | |
} | |
@else if $point == mobi_and_tab { | |
@media only screen and (max-width:767px) { @content; } | |
} |