Skip to content

Instantly share code, notes, and snippets.

View maxsum-corin's full-sized avatar

Corin Lawson maxsum-corin

  • Maxsum Solutions
  • Bendigo, Australia
View GitHub Profile
@maxsum-corin
maxsum-corin / readme.md
Last active January 4, 2017 00:08
Modified to use is_on_sale, which includes variation products

This plugin adds a sale items shortcode to WooCommerce. Usage:

[sale_products]

Options & defaults:

per_page=12
columns=4
orderby=title

order=asc

@maxsum-corin
maxsum-corin / example.html
Created September 29, 2011 14:46 — forked from edersohe/example.html
short plugin that implement vertical buttonset for radio buttons and checkboxes with jquery ui
<html>
<head>
<title>Test</title>
<link rel="stylesheet" media="all" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/themes/start/jquery-ui.css"></link>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.7/jquery-ui.min.js"></script>
<script src="jquery.myplugin.js"></script>
<script>
$(document).ready(function(){
//call plugin