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
ul.full_width { | |
width: 100%; | |
display: flex; | |
-webkit-box-orient: horizontal; | |
-webkit-box-direction: normal; | |
-ms-flex-flow: row wrap; | |
flex-flow: row wrap; | |
-webkit-box-pack: center; | |
-ms-flex-pack: center; | |
justify-content: center; |
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
.content { | |
display: -webkit-box; | |
display: -moz-box; | |
display: -ms-flexbox; | |
display: -webkit-flex; | |
display: flex; | |
-webkit-flex-direction: column; | |
-moz-flex-direction: column; | |
-ms-flex-direction: column; | |
flex-direction: column; |
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
p.multiline { | |
overflow: hidden; | |
display: -webkit-box; | |
-webkit-line-clamp: 2; | |
-webkit-box-orient: vertical; | |
} |
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
var li_length = jQuery('ul.pagination li').length; | |
if(li_length == 13){ | |
var li_item = jQuery('ul.pagination li:nth-child(9) a').attr('href'); | |
var to_num_8 = jQuery('ul.pagination li:nth-child(11)').text(); | |
$('<li><a href="'+li_item.replace("8", "9")+'">9</a></li>').insertAfter("ul.pagination li:nth-child(9)"); | |
$('<li class="tenth"><a href="'+li_item.replace("8", "10")+'">10</a></li>').insertAfter("ul.pagination li:nth-child(10)"); | |
var space = $('ul.pagination').parent().width() - $('ul.pagination').width(); |
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 | |
////// Rename or remove order statuses ////// | |
add_filter('wc_order_statuses', 'wc_renaming_order_status'); | |
function wc_renaming_order_status($order_statuses) { | |
$order_statuses = array( | |
'wc-pending' => _x('Pending', 'Order status', 'woocommerce'), | |
'wc-processing' => _x('New Order', 'Order status', 'woocommerce'), | |
'wc-cancelled' => _x('Cancelled', 'Order status', 'woocommerce'), | |
'wc-completed' => _x('Approved', 'Order status', 'woocommerce'), |
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
@echo off | |
:::::::::::::::::::::::::::: | |
set "params=Problem_with_elevating_UAC_for_Administrator_Privileges"&if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" | |
fsutil dirty query %systemdrive% >nul 2>&1 && goto :GotPrivileges | |
:: The following test is to avoid infinite looping if elevating UAC for Administrator Privileges failed | |
If "%1"=="%params%" (echo Elevating UAC for Administrator Privileges failed&echo Right click on the script and select 'Run as administrator'&echo Press any key to exit...&pause>nul 2>&1&exit) | |
cmd /u /c echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "%~0", "%params%", "", "runas", 1 > "%temp%\getadmin.vbs"&cscript //nologo "%temp%\getadmin.vbs"&exit | |
:GotPrivileges | |
:::::::::::::::::::::::::::: | |
color 1F |
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
/* Function URL ScrollTo*/ | |
function scrollto_div(uid){ | |
jQuery('html, body').animate({ | |
scrollTop: jQuery(uid).offset().top | |
}, 800); | |
} | |
/* Function URL ScrollTo*/ | |
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
// Setting Value | |
{{ setting_value('streams::field_slug', config_get('streams::distribution.field_slug')) }} | |
// Content View | |
{{ page.content.render | raw}} | |
// Content Exerpt View | |
{{ page.content | striptags | slice(0, 120) }} | |
// Multiple File View |
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
<div id="vue-carousel-3d-wrap"></div> |
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
<!-- GOOGLE MAP --> | |
<script async="" defer="" type="text/javascript" src="https://maps.googleapis.com/maps/api/js?callback=initializeMap&key=<--KEY-->"></script> | |
<!-- GOOGLE MAP --> | |
<script type="text/javascript"> | |
//INITIALIZE GOOGLE MAP WITH MULTIPLE MARKERS AND CUSTOM MARKER ICON. | |
var markers = [ | |
['Bondi Beach', -33.890542, 151.274856], | |
['Coogee Beach', -33.923036, 151.259052], |