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
| jQuery(document).ready(function($) { | |
| // Add browser class to html | |
| if (navigator.userAgent.indexOf('Mac OS X') != -1) { | |
| // Mac | |
| if ($.browser.opera) { $('html').addClass('opera'); } | |
| if ($.browser.webkit) { $('html').addClass('webkit'); } | |
| if ($.browser.mozilla) { $('html').addClass('mozilla'); } | |
| if (/camino/.test(navigator.userAgent.toLowerCase())){ $('html').addClass('camino'); } | |
| if (/chrome/.test(navigator.userAgent.toLowerCase())) { $('html').addClass('chrome'); } | |
| if (navigator && navigator.platform && navigator.platform.match(/^(iPad|iPod|iPhone|iPhone Simulator|iPad Simulator)$/)) { |
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
| @mixin background-64($code,$code-hd:null,$width:null,$height:null,$type:png) { | |
| background-image: url('data:image/' + $type + ';base64,' + $code); | |
| @if $code-hd == null { | |
| } @else { | |
| @media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) { | |
| background-image: url('data:image/' + $type + ';base64,' + $code-hd); | |
| -webkit-background-size: $width $height; | |
| background-size: $width $height; | |
| } |
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 | |
| function shortcode_empty_paragraph_fix( $content ) { | |
| // define your shortcodes to filter | |
| $shortcodes = array( 'example_shortcode_1', 'example_shortcode_2', 'example_shortcode_3' ); | |
| // array of custom shortcodes requiring the fix | |
| $block = join("|",$shortcodes); | |
| // opening tag |
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 | |
| $currency_symbols = array( | |
| 'AED' => 'د.إ', // ? | |
| 'AFN' => 'Af', | |
| 'ALL' => 'Lek', | |
| 'AMD' => 'դ', | |
| 'ANG' => 'ƒ', | |
| 'AOA' => 'Kz', // ? | |
| 'ARS' => '$', | |
| 'AUD' => '$', |
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
| @include min-screen (xl) { | |
| .container{ | |
| width: 1410px; | |
| } | |
| .col-xl-1, | |
| .col-xl-2, | |
| .col-xl-3, | |
| .col-xl-4, | |
| .col-xl-5, | |
| .col-xl-6, |
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
| /* Display & Box Model */ | |
| -webkit-box-sizing: inherit; | |
| box-sizing: inherit; | |
| content: inherit; | |
| display: inherit; | |
| float: inherit; | |
| clear: inherit; | |
| overflow: inherit; | |
| overflow-wrap: inherit; | |
| overflow-x: inherit; |
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
| @mixin only-browser($browser) { | |
| // Firefox | |
| @if $browser == 'mozilla' or $browser == 'firefox' { | |
| @-moz-document url-prefix() { @content; } | |
| } | |
| // IE | |
| @if $browser == 'ie' { | |
| @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { @content; } |
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
| From 78f71273f3152048786edac8690ffae22cbd1001 Mon Sep 17 00:00:00 2001 | |
| From: Victor Dieppa Garriga <victor-dg@lightflows.co.uk> | |
| Date: Fri, 24 Apr 2020 12:46:23 +0100 | |
| Subject: [PATCH] Fix autoptimize making new files with 600 permissions | |
| --- | |
| .../autoptimize/classes/autoptimizeCache.php | 33 +++++++++++++------ | |
| .../plugins/autoptimize/config/default.php | 4 +-- | |
| 2 files changed, 25 insertions(+), 12 deletions(-) |