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
if ( $this->getRequest()->getPost( 'age' ) ) { | |
$value = $this->getRequest()->getPost( 'age' ); | |
$split_age = explode( '-', $value ); | |
$age_array = []; | |
foreach($split_age as $age){ | |
$age_array[] = array( 'finset' => array( $age ) ); | |
} | |
} |
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
/** | |
* Gulp Packages | |
*/ | |
// General | |
var gulp = require('gulp'); | |
var fs = require('fs'); | |
var del = require('del'); | |
var lazypipe = require('lazypipe'); | |
var plumber = require('gulp-plumber'); |
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
{exp:channel:entries channel="home"} | |
{embed="embeds/_header-meta" } | |
<!-- END HEADER INCLUDE --> | |
<style> | |
</style> | |
<div class="sliderContainer fullWidth clearfix"> | |
<div id="full-width-slider" class="royalSlider rsDefault heroSlider rsMinW"> |
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
$('a.shortlist_action.available').on('click', function(){ | |
// Assign variable | |
thisFlag = $(this); | |
modal = $(thisFlag).parent().parent().find('.modal-item'); | |
$(modal).slideToggle(); | |
$(document).one('click', function(){ | |
$(modal).fadeOut(); | |
}); |
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
{paginate} | |
{pagination_links} | |
<ul> | |
{previous_page} | |
<li><a href="{pagination_url}" class="page-previous"><</a></li> | |
{/previous_page} | |
{first_page} | |
<li><a href="{pagination_url}" class="page-first">1</a> …</li> | |
{/first_page} |