Skip to content

Instantly share code, notes, and snippets.

View maxsherlock's full-sized avatar

Max S. maxsherlock

  • San Antonio
View GitHub Profile
@maxsherlock
maxsherlock / woo-adding-new-fields
Created June 23, 2016 00:52
Simple, elegant code for how to add new custom fields to any WooCommerce product!
// Display Fields
add_action( 'woocommerce_product_options_general_product_data', 'woo_add_custom_general_fields' );
// Save Fields
add_action( 'woocommerce_process_product_meta', 'woo_add_custom_general_fields_save' );
function woo_add_custom_general_fields() {
global $woocommerce, $post;
@ParkinT
ParkinT / InteractiveAdventure.md
Last active June 23, 2016 00:56
An Interactive Fictional Story is one where you do not merely observe the action but take an active part in it. As with real life, your decisions have a direct effect on the outcome of the story.

Welcome!

This is merely an example. This short and very simplistic adventure illustrates the concept and the technology involved; including technology challenges which I faced and overcame.

You are strongly encouraged to provide honest comments and suggestions. If you feel the burning desire to write a multi-faceted story, in any genre you please, be sure to make contact and it can be featured here in this manner.

Thanks for your time, interest and feedback.

===