git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
<style type="text/css"> | |
.site-logo-middle-menu{ | |
position: relative; | |
display: inline-block; | |
margin-left: 10px; | |
margin-right: 10px; | |
} | |
.site-logo-middle-menu > a{ | |
position: absolute; |
if ( matchMedia( 'only screen and (max-width: 1024px)' ).matches ) { | |
currMenuType = 'mobile'; | |
} |
if ( matchMedia( 'only screen and (max-width: 1280px)' ).matches ) { | |
currMenuType = 'mobile'; | |
} |
@media only screen and (max-width:1280px){ | |
#mainnav{ | |
display: none; | |
} | |
.btn-menu{ | |
display: block; | |
} | |
//Check if category exists and echo it | |
if($category) { | |
echo ' | |
<li> | |
<i class="fa fa-tags"></i> | |
<a href="'.esc_url($category[0][1]).'">'.esc_html($category[0][2]).'</a> | |
</li>'; | |
} |
;(function($) { | |
'use strict' | |
if( $('.header-contact-info').length ) { | |
var cartMenu = $('.mainnav .nav-cart'); | |
var accountMenu = $('.mainnav .header-account'); | |
$('.header-contact-info').prepend('<ul class="header-contact-menu"></ul>'); |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
/** | |
* | |
* To do: | |
* formatting on the screen so it's not all bunched | |
* options for various outputs | |
* styling | |
* | |
*/ | |
( function( blocks, editor, i18n, element, components, _ ) { | |
var el = element.createElement; |