Skip to content

Instantly share code, notes, and snippets.

View gygi's full-sized avatar

Ted gygi

View GitHub Profile
@gygi
gygi / tickets.php
Created May 1, 2015 21:08
tickets_nostock
<?php
global $woocommerce;
$is_there_any_product = false;
$is_there_any_product_to_sell = false;
ob_start();
?>
<form action="<?php echo esc_url( $woocommerce->cart->get_cart_url() ) ?>" class="cart" method="post" enctype='multipart/form-data'>
<h2 class="tribe-events-tickets-title"><?php _e( 'Tickets', 'tribe-wootickets' ) ?></h2>
@gygi
gygi / newsletter.html
Created April 30, 2015 15:04
newsletter 4/30/2015
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="{{media url="wysiwyg/Sign-up-for-the-Newsletter_want-even-more-250.jpg"}}" alt="" /></p>
<!-- Begin MailChimp Signup Form -->
<div id="mc_embed_signup"><form id="mc-embedded-subscribe-form" class="validate" action="//Gygi.us6.list-manage.com/subscribe/post?u=a11b87a4639357d33ef819f5e&amp;id=ef8c1d9df6" method="post" name="mc-embedded-subscribe-form" target="_blank">
<div id="mc_embed_signup_scroll">
<h2 style="text-align: center;">Get the Gygi Newsletter delivered right to your inbox.</h2>
<h2 style="text-align: center;">It's full of tips, techniques, inspiration, and exclusive recipes.</h2>
<h2 style="text-align: center;">Don't miss out sign up today!</h2>
<div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
<div class="mc-field-group"><label for="mce-EMAIL">Email Address <span class="asterisk">*</span> </label> <input id="mce-EMAIL" class="required email
@gygi
gygi / custom.css
Created April 28, 2015 22:20
custom.css for theme
/*
WOO CUSTOM STYLESHEET
---------------------
Instructions:
Add your custom styles in this file instead of style.css so it
is easier to update the theme. Simply copy an existing style
from style.css to this file, and modify it to your liking. */
@gygi
gygi / old_order_confirmation.php
Created April 28, 2015 14:54
old order confirmation email
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>{{config path="general/store_information/name"}} Order Confirmation</title>
</head>
<body>
<?xml version="1.0" encoding="UTF-8"?>
<products>
<product>
<sku>{sku}</sku>
<name>{name}</name>
<short_description>{short_description}</short_description>
<description>{description}</description>
<quantity>{qty}</quantity>
@gygi
gygi / single-event.php
Created April 23, 2015 18:06
commented out areas
<?php
/**
* Single Event Template
* A single event. This displays the event title, description, meta, and
* optionally, the Google map for the event.
*
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/single-event.php
*
* @package TribeEventsCalendar
*
@gygi
gygi / single.php
Created April 23, 2015 17:58
single.php for troubleshooting
<?php
/**
* Single Post Template
*
* This template is the default page template. It is used to display content when someone is viewing a
* singular view of a post ('post' post_type).
* @link http://codex.wordpress.org/Post_Types#Post
*
* @package WooFramework
* @subpackage Template
@gygi
gygi / day.php
Created April 23, 2015 16:17
day view template
<?php
/**
* Day View Template
* The wrapper template for day view.
*
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/day.php
*
* @package TribeEventsCalendar
*
*/
<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><br><br><br><u></u>
<div marginwidth="0" marginheight="0" style="margin:0;padding:0;background-color:#f2f2f2;min-height:100%!important;width:100%!important">
<center>
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" style="border-collapse:collapse;margin:0;padding:0;background-color:#f2f2f2;height:100%!important;width:100%!important">
<tbody><tr>
<td align="center" valign="top" style="margin:0;padding:20px;border-top:0;height:100%!important;width:100%!important">
<table border="0" cellpadding="0" cellspacing="0" width="600" style="border-collapse:collapse;border:0">
<tbody><tr>
<td align="center" valign="top">
@gygi
gygi / new_order.html
Created April 20, 2015 22:30
new_order.html file
<div dir="ltr"><div class="gmail_quote">
<div marginwidth="0" marginheight="0" style="margin:0;padding:0;background-color:#f2f2f2;min-height:100%!important;width:637px">
<table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="637px"style="border-collapse:collapse;margin:0;padding:0;background-color:#f2f2f2;height:100%!important;width:100%!important">
<tbody><tr>
<td align="center" valign="top" style="margin:0;padding:20px;border-top:0;height:100%!important;width:100%!important">
<table border="0" cellpadding="0" cellspacing="0" width=100% style="border-collapse:collapse;border:0">
<tbody><tr>
<td align="center" valign="top">