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 | |
/********************************/ | |
/* SHORTCODES */ | |
/********************************/ | |
/* COLUMNS */ | |
// [row] | |
function row_shortcode( $atts, $content = null ){ | |
return '<div class="row">' . do_shortcode($content) .'</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
<?php | |
/** | |
* Template Name: Homepage | |
* | |
* Here we setup all logic and HTML that is required for the index template, used as both the homepage | |
* and as a fallback template, if a more appropriate template file doesn't exist for a specific context. | |
* | |
* @package WooFramework | |
* @subpackage Template | |
*/ |
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 fireModal(){ | |
// Creates Modal window Markup | |
var modal = (function(){ | |
var | |
method = {}, | |
$overlay, | |
$modal, | |
$content, | |
$close; |
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
<form name="checkout" method="post" class="checkout woocommerce-checkout" action="http://www.viraone.com/checkout/" enctype="multipart/form-data"> | |
<div class="col2-set" id="customer_details"> | |
<div class="col-1"> | |
<div class="woocommerce-billing-fields"> | |
<h3>Billing Details</h3> | |
<span class="international">Outside Canada or the U.S.? <a href="mailto:[email protected]">Email us</a> to order.</span> | |
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
/********************* | |
/* COLORS MIXINS | |
/********************* | |
@import url('https://fonts.googleapis.com/css?family=Lato:300,300i,400,700,900') | |
$font-stack: 'Lato', Helvetica, Arial, sans-serif | |
/* Color */ | |
$orange: #EF7A23 |
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 | |
/** | |
* Displays archive pages if a speicifc template is not set. | |
* | |
* For more info: https://developer.wordpress.org/themes/basics/template-hierarchy/ | |
*/ | |
get_header(); ?> | |
<div class="content"> |
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="programs" class="row"> | |
<!-- Text above the programs --> | |
<div class="columns small-12"> | |
<h2>Programs</h2> | |
<p>Yoga Mala Foundation is proud to be operating and maintaining ongoing yoga and meditation programs in partnership with the following community organizations. | |
<br> | |
<br> | |
Explore »</p> | |
<br> |
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 healthyliving_remove_product_cats( $query ) { | |
$hidden_shop_categories = get_field('hidden_shop_categories', 'option'); | |
// Comment out the line below to hide products in the admin as well | |
if ( is_admin() ) return; | |
if ( $query->is_search ) { | |
$query->set( 'tax_query', array( |
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 | |
/** | |
* mana functioncust and definitions. | |
* | |
* @link https://developer.wordpress.org/themes/basics/theme-functions/ | |
* | |
* @package mana | |
*/ | |
if ( ! function_exists( 'mana_setup' ) ) : |
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
root@neville-clients:~# apt-get install --only-upgrade certbot | |
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. | |
root@neville-clients:~# sudo dpkg --configure -a | |
Setting up linux-headers-4.4.0-151 (4.4.0-151.178) ... | |
Setting up linux-modules-4.4.0-151-generic (4.4.0-151.178) ... | |
Setting up linux-image-4.4.0-151-generic (4.4.0-151.178) ... | |
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.4.0-150-generic | |
I: /initrd.img.old is now a symlink to boot/initrd.img-4.4.0-150-generic | |
I: /vmlinuz is now a symlink to boot/vmlinuz-4.4.0-151-generic | |
I: /initrd.img is now a symlink to boot/initrd.img-4.4.0-151-generic |
OlderNewer