Skip to content

Instantly share code, notes, and snippets.

@coenjacobs
coenjacobs / gist:2571441
Created May 1, 2012 21:12 — forked from boonebgorges/gist:2571318
Update Woo Framework for all WooThemes on an installation
<?php
/**
* Updates Woo Framework in all WooThemes on a WP installation
*
* To use:
*
* - Get the latest copy of the framework
* - Unzip to /wp-content/framework/
* - Visit wp-admin?cac_update_woo=1 as super admin
@coenjacobs
coenjacobs / gist:1389756
Created November 23, 2011 20:09 — forked from remkus/gist:1235165
Example of WordPress coding standards
<?php
add_filter( 'body_class' , 'ft_add_guest_body_class' );
/**
* Adds a body class for guests.
*
* @author Remkus de Vries
* @link http://remkusdevries.com/when-sharing-wordpress-related-code-snippets-i-can-haz-standards-please/
* @tested WordPress 3.2.1
* @param array $classes Existing body classes