Skip to content

Instantly share code, notes, and snippets.

View horne3754sg's full-sized avatar

Matthew Horne horne3754sg

  • United Kingdom
View GitHub Profile
@horne3754sg
horne3754sg / example-thesis-box-with-cpt
Last active August 29, 2015 14:06
An example Thesis 2 box demonstrating how to register a Custom Post Type (CPT) within boxes.
<?php
/*
Name: Example CPT registration in a Thesis 2 Box
Author: Matthew Horne - Zerogravityskins.com
Description: enter your description here.
Version: 1.0
Class: my_custom_class
*/
class my_custom_class extends thesis_box {