Skip to content

Instantly share code, notes, and snippets.

@cjwd
cjwd / caldera-material-design.css
Created November 15, 2019 13:44 — forked from agirlandhermac/caldera-material-design.css
Caldera Forms with Material Design Style
/*** MAIN FORM CONTAINER ***/
.caldera-grid {
background: #691a99;
padding: 30px 25px 15px 25px;
box-shadow: 0 10px 40px 0 rgba(0, 0, 0, .1);
border-radius: 4px;
}
/*** FIELD STYLING ***/
.caldera-grid .form-control {
color: #fff !important;
@cjwd
cjwd / bars-1.0.3.json
Created August 29, 2019 13:46
Rum Day Returns 2019 Bar List
[
{
"bar": "CAROL RAMNATH",
"area": "ACONO ROAD"
},
{
"bar": "SMOKEY AND BUNTY",
"area": "ARIAPITA AVENUE"
},
{
@cjwd
cjwd / bars-1.0.2.json
Last active August 16, 2019 15:43
Angostura Rum Day Bar Listing
[
{
"bar": "Pub House Rest & Bar",
"area": "Ariapita Avenue"
},
{
"bar": "#63",
"area": "Ariapita Avenue"
},
{
@cjwd
cjwd / example.php
Last active July 28, 2019 13:19
WordPress custom post type pagination
<?php
/**
* Template Name: Issues Archive
*/
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
$args = [
'post_type' => 'page',
@cjwd
cjwd / woo-endpoint-custom.php
Created July 17, 2017 20:35 — forked from neilgee/woo-endpoint-custom.php
WooCommerce Endpoint Order and Rename - My Account Page v2.6+
<?php
/*
* Add custom endpoint that appears in My Account Page - WooCommerce 2.6
* New URL below as Claudio changed his github username
* Ref - https://gist.github.com/claudiosanches/a79f4e3992ae96cb821d3b357834a005#file-custom-my-account-endpoint-php
*/
class My_Custom_My_Account_Endpoint {
@cjwd
cjwd / iconmelon svg
Last active August 29, 2015 14:04
Iconmelon svg usage
<div class="iconmelon">
<svg viewBox="0 0 32 32">
<use xlink:href="#icon-id-reference"></use>
</svg>
</div>