View plugin-download.php
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 | |
/* | |
Plugin Name: Plugin Download | |
Plugin URI: https://gist.github.com/webaware/4a4f2dca44b1c10fb9a8fe85a5f90f40 | |
Update URI: plugin-download | |
Description: add download links to plugins with updates available | |
Version: 0.0.1 | |
Author: WebAware | |
Author URI: https://shop.webaware.com.au/ | |
*/ |
View network-lister.php
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 | |
/* | |
Plugin Name: Network Lister | |
Plugin URI: https://gist.github.com/webaware/b914967f0ce8110c775cd12ddc546283 | |
Update URI: network-lister | |
Description: simple dashboard widget for listing network sites | |
Version: 0.0.5 | |
Author: WebAware | |
Author URI: https://shop.webaware.com.au/ | |
*/ |
View chequerboard.css
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
.my-element { | |
background-image: conic-gradient(#ddd 25%, #fff 25%, #fff 50%, #ddd 50%, #ddd 75%, #fff 75%); | |
background-size: 40px 40px; | |
} |
View gf-countries-woo.php
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 | |
/* | |
Plugin Name: GF Countries for WooCommerce | |
Plugin URI: https://gist.github.com/webaware/985156c48d8fea3cc77d9a9c624aad18 | |
Update URI: gf-countries-woo | |
Description: restrict Gravity Forms addresses to WooCommerce-allowed countries | |
Version: 2 | |
Author: WebAware | |
Author URI: https://shop.webaware.com.au/ | |
*/ |
View video.twig
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
<video class="project-video" controls controlslist="nodownload" playsinline disablePictureInPicture | |
{%- if video.autoplay %} autoplay muted {%- endif -%} | |
{%- if video.preload %} preload="{{ video.preload }}" {%- endif -%} | |
{%- if video.loop %} loop {%- endif -%} | |
{%- if video.width %} width="{{ video.width }}" {%- endif -%} | |
{%- if video.height %} height="{{ video.height }}" {%- endif -%} | |
{%- if video.poster %} poster="{{ video.poster }}" {%- endif -%} | |
> | |
{%- for source in video.sources -%} |
View Makefile
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
SRC := Brightscape.mov FUNK-instagram-mockup.mp4 | |
SRC_MOV := $(filter %.mov,$(SRC)) | |
SRC_MP4 := $(filter %.mp4,$(SRC)) | |
JPG := $(patsubst %.mov, out/%-vid.jpg, $(SRC_MOV)) $(patsubst %.mp4, out/%-vid.jpg, $(SRC_MP4)) | |
MP4 := $(patsubst %.mov, out/%.mp4, $(SRC_MOV)) $(patsubst %.mp4, out/%.mp4, $(SRC_MP4)) | |
VP9 := $(patsubst %.mov, out/%.webm, $(SRC_MOV)) $(patsubst %.mp4, out/%.webm, $(SRC_MP4)) | |
.PHONY: all jpg mp4 vp9 |
View Makefile
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
.PHONY: all favicons lint lint-js lint-php lint-twig lint-css css-compile css-postcss | |
all: | |
@echo please see Makefile for available builds / commands | |
# optimise branding tiles and build the favicon | |
FAVICON_DIR := images/favicons | |
favicons: $(FAVICON_DIR)/favicon.ico |
View gf-email-route-by-country.php
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 | |
if (!defined('ABSPATH')) { | |
exit; | |
} | |
/** | |
* adapt notification rules based on country in Address field | |
* - set Send To email address to a trigger value | |
* - set Value to the address field ID |
View gf-countries-restrict.php
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 | |
/* | |
Plugin Name: GF Countries Restrict | |
Plugin URI: https://gist.github.com/webaware/2a9e72a94290fa8a9c7d6d60c9ae052a | |
Update URI: gf-countries-restrict | |
Description: restrict Gravity Forms addresses to USA, Canada | |
Version: 1 | |
Author: WebAware | |
Author URI: https://shop.webaware.com.au/ | |
*/ |
View gf-stripe-ignore-cc.php
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 | |
/* | |
Plugin Name: GF Stripe Ignore CC Fields | |
Plugin URI: https://gist.github.com/webaware/0488a4bed8d16627af4de52092a356a6 | |
Description: make GF Stripe add-on ignore credit card fields so that they can operate normally for other add-ons | |
Version: 1 | |
Author: WebAware | |
Author URI: https://shop.webaware.com.au/ | |
*/ |
NewerOlder