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
// | |
// Mixins | |
// | |
.m-number--random(@min, @max) { | |
--number--random: `Math.floor(Math.random() * (@{max} - @{min} + 1) + @{min})`; // Required enabled execution inline javascript using "--js" option [lessc --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
<?php | |
/** | |
* Remove PhotoSwipe | |
*/ | |
add_filter( 'forqy_image_photoswipe', '__return_false' ); | |
add_filter( 'forqy_image_photoswipe_content', '__return_false' ); | |
if ( !function_exists( 'THEME_scripts_photoswipe_remove' ) ) { |
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 | |
/** | |
* Disable Google Fonts | |
*/ | |
add_filter( 'forqy_fonts', '__return_empty_array', 10 ); | |
/** | |
* Define Fonts | |
* Replace "THEME" with the name of your child theme |
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 | |
if ( ! function_exists( 'PREFIX_themes_hide' ) ) { | |
/** | |
* Hide the Theme in the WordPress Admin | |
* | |
* @param $themes | |
* | |
* @return mixed |
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 | |
if ( ! function_exists( 'prefix_scripts_datepicker' ) ) { | |
/** | |
* Custom Settings of the JQuery UI Datepicker | |
* @url https://api.jqueryui.com/datepicker/ | |
*/ | |
function prefix_scripts_datepicker() { |
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 | |
if ( ! function_exists( 'forqy_image_lazy_disable' ) ) { | |
/** | |
* Disable Lazy Loading of Content Images | |
* | |
* @return void | |
*/ | |
function forqy_image_lazy_disable() { |
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 | |
/** | |
* Polylang Multilingual Logo | |
* | |
* @param $value | |
* | |
* @return int|mixed | |
*/ | |
function THEME_logo_multilingual( $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
<?php | |
/** | |
* Add Custom Link to the Navigation | |
* | |
* @param $items | |
* @param $args | |
* | |
* @return mixed|string | |
*/ |
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 | |
if ( ! function_exists( 'THEME_scripts_datepicker' ) ) { | |
/** | |
* Custom Settings of the jQuery UI Datepicker | |
* @url https://api.jqueryui.com/datepicker/ | |
*/ | |
function THEME_scripts_datepicker() { |
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 | |
if ( ! function_exists( 'prefix_scripts_datepicker' ) ) { | |
/** | |
* Custom Settings of the JQuery UI Datepicker | |
* @url https://api.jqueryui.com/datepicker/ | |
*/ | |
function prefix_scripts_datepicker() { |
NewerOlder