Skip to content

Instantly share code, notes, and snippets.

View rw1982's full-sized avatar

Rob Williams rw1982

View GitHub Profile
@rw1982
rw1982 / wp-moderntribe-past-events.php
Created September 24, 2018 18:42
WP Modern Tribe Events Calendar Pro / Past Events Category
<!-- WP Modern Tribe Events Calendar Pro / Auto Publish Past-Date Events to "Past Events" Category, and make Primary Category usin Yoast. This solves the problem of atchiving old Events in Modern Tribe's Events Calendar Pro -->
<!-- Drop this in your single event template or maker a plugin out of this. -->
<!-- PAST EVENTS SET PRIMARY CATEGORY -->
<?php
# Grab the events.
$args = array(
'post_type' => 'tribe_events',
'tax_query' => array(
//The Best Sublime Settings In Settings User
{
"bold_folder_labels": true,
"color_scheme": "Packages/Theme - Flatland/Flatland Monokai.tmTheme",
"font_size": 12.5,
// "font_options": "subpixel_antialias",
"ignored_packages":
[
"Vintage"
@rw1982
rw1982 / SassMeister-input-HTML.html
Created June 28, 2015 06:09
Generated by SassMeister.com.
<body>
<h1>Basic Sass!</h1>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
<div class="class-one">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially uncha
@rw1982
rw1982 / SassMeister-input.scss
Created June 28, 2015 01:49
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
@mixin my-mixin($color){
background: $color;
outline: 3px solid red;
padding: 12px;
margin: 24px;
}
//////////////////////////////////////////////////////////////
// Font Variables (http://cssfontstack.com/)
//////////////////////////////////////////////////////////////
//
// Serif font-stacks
//
$baskerville-font-stack: "Big Caslon", "Book Antiqua", "Palatino Linotype", Georgia, serif !default;