Skip to content

Instantly share code, notes, and snippets.

View simonwheatley's full-sized avatar

Simon Wheatley simonwheatley

View GitHub Profile
@simonwheatley
simonwheatley / babble-demo.php
Created June 9, 2015 19:12
Demo of a plugin adding two fields in a meta box, one of which is synced and one translated
<?php
/*
Plugin Name: Babble Demo
Description: Demo to show translating (or not) post meta
Version: 1.0
Author: Automattic
Author URI: https://automattic.com/
License: GPL v2 or later
This program is free software; you can redistribute it and/or modify
@simonwheatley
simonwheatley / fieldmanager-babble-poc.php
Last active August 29, 2015 14:27
A proof of concept for creating a custom translation UI for a Fieldmanager field group utilising repeatable fields
<?php
/*
Plugin Name: A8c VIP Translatable Fields Test
Version: 1.0b1
*/
// Code pasted from Fieldmanager site
// using Fieldmanager for a slideshow - any number of slides,
// with any number of related links
@simonwheatley
simonwheatley / LICENSE.md
Created January 8, 2016 12:02
Add GitHub repo collaborators

The GNU General Public License, Version 2, June 1991 (GPLv2)

Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA

Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

#!/bin/bash -e
#
echo "Hello Simon"
say "Hello Simon"