View leaflet-clusters.css
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
.marker-cluster-small { | |
background-color: rgba(181,226,140,.6) | |
} | |
.marker-cluster-small div { | |
background-color: rgba(110,204,57,.6) | |
} | |
.marker-cluster-medium { | |
background-color: rgba(241,211,87,.6) |
View functions.php
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 | |
add_filter('search_and_filtering_job_singular', 'smyles_sf_job_singular'); | |
function smyles_sf_job_singular( $singular ){ | |
return __('job today'); | |
} | |
add_filter('search_and_filtering_job_plural', 'smyles_sf_job_plural'); | |
function smyles_sf_job_plural( $singular ){ |
View functions.php
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 | |
add_filter( 'doing_it_wrong_trigger_error', 'smyles_disable_localize_warning', 9999, 2 ); | |
function smyles_disable_localize_warning( $trigger, $function ){ | |
if( $function === 'WP_Scripts::localize' ){ | |
return false; | |
} | |
return $trigger; | |
} |
View functions.php
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 | |
add_filter( 'search_and_filtering_get_taxonomy_data_options_include_child_terms', 'smyles_tax_child_terms', 10, 2 ); | |
function smyles_tax_child_terms( $args, $taxonomy ){ | |
if( $taxonomy === 'job_listing_category' ){ | |
return false; | |
} | |
View functions.php
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 | |
add_filter( 'job_manager_emails_email_should_send', 'smyles_email_should_send', 10, 4 ); | |
function smyles_email_should_send( $should_send, $template, $listing_id, $that ) { | |
// Don't send if the user IS an admin submitting the application | |
if ( $template->template_name && 'application_confirmation_non_admin' === $template->template_name && current_user_can( 'manage_options' ) ) { | |
return false; | |
} |
View functions.php
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 | |
add_filter( 'search_and_filtering_job_radius_search_include_anywhere', '__return_false' ); |
View functions.php
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 | |
add_filter( 'job_manager_select2_args', 'smyles_custom_select2_args' ); | |
function smyles_custom_select2_args( $args ){ | |
$args['minimumInputLength'] = 2; | |
return $args; | |
} |
View functions.php
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 | |
add_filter( 'job_manager_empty_meta_cleaner_init_configuration', 'smyles_emc_lower_per_batch' ); | |
function smyles_emc_lower_per_batch( $config ){ | |
$config['total_per_batch'] = 10; | |
return $config; | |
} |
View functions.php
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 | |
add_filter( 'search_and_filtering_feature_listings_in_location_search', '__return_false' ); |
View fr.js
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
/* French locals for flatpickr */ | |
var Flatpickr = Flatpickr || { l10ns: {} }; | |
Flatpickr.l10ns.fr = {}; | |
Flatpickr.l10ns.fr.firstDayOfWeek = 1; | |
Flatpickr.l10ns.fr.weekdays = { | |
shorthand: ['Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'], | |
longhand: ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'] | |
}; |
NewerOlder