Adding Additional Schema Types to Thesis 2

Thesis 2 comes with a Schema API built in which has some common Schema types added by default, but did you know you can add your own additional Schema with a simple filter.

Thesis has the following common Schema types built in:

  • article
  • creativework
  • recipe
  • review

Adding additional schema requires two simple filters that can be added to your Boxes or Skins via box.php or skin.php.

protected function construct() {
    add_filter('thesis_schema_types', array( $this, 'add_schema_type'));
    add_filter('thesis_schema_options', array( $this, 'add_schema_option'));

public function add_schema_type($types) {
    $types['product'] = '';
    return $types;

public function add_schema_option($options) {
    $options['product'] = __('Product','thesis');
    return $options;

If you are adding this to custom.php then just simply add it like so.

add_filter('thesis_schema_types', 'add_schema_type');
function add_schema_type($types) {
    $types['product'] = '';
    return $types;

add_filter('thesis_schema_options', 'add_schema_option');
function add_schema_option($options) {
    $options['product'] = __('Product','thesis');
    return $options;

For more information about Schema types click here.

Thesis 2 is the most Advanced Template System on the WordPress Platform. One Framework, Infinite Possibilities. Check it out today!

In Category: Thesis 2

Matthew Horne

I am a web developer from the United kingdom who taught himself PHP and JavaScript and continues to build on those skills as well as learn new skills.

Show 9 Comments
  • David Alexader Jones 12th April 2015, 6:40 am

    Hey Matthew, I can’t tell you how happy I am to see someone writing about Thesis skin development in the public domain again (it seems to have been a while, maybe that’s just me). I would love a chat sometime as I have a lot of thoughts & ideas to contribute, some experiments of my own, little discoveries here and there that I think you would find beneficial.

    • Matthew Horne 23rd April 2015, 12:19 pm

      No problem man, I am working with Chris at the moment on Thesis so I havn’t has a lot of time to write things, but soon I will have more time to write developer related documents for Thesis 2.

      • Roberta 12th August 2015, 1:56 pm

        Hi Matthew,
        Your blog is really useful. I can’t thank you enough for your clarifying articles.
        Can I ask just one huge favour?
        Could you convince your team at Thesis (and Chris) to include Mad Mimi as an auto-responder option for all your skins?
        Lots of Mad Mimi users can’t buy any skin yet because of that :/ (myself included).
        Any person who tries MMimi ends up loving it for its ridiculous simplicity in managing different lists. Give it a try to see what I mean. It’s a lot simpler than any other auto-responder and a real God-send to any non-IT person that tries it, given its extremely easy-to- use platform. Thanks mate!

        • Matthew Horne 16th August 2015, 3:34 am

          Hi Roberta, thank you and I will let Chris know about this Mad Mimi.

          I have never heard of it personally, but im sure we can do something about it.


        • Roberta 17th August 2015, 1:25 pm

          Thanks Matthew!
          I read on another forum when other people asked Chris about Mad Mimi, but it wasn’t available at the time. Mad Mimi has its own plugin for WP, so hopefully it is not that complicated to integrate it… Thanks!

  • Roberta 17th September 2015, 2:27 pm

    Hi Matthew,
    Just one more thing about Mad Mimi is that a year ago, it was bought by GoDaddy. 🙂 Cheers

    • Matthew Horne 18th September 2015, 3:29 am

      I asked Chris and he said this is the sort of thing that a box would be for but since its more of an edge case it would not be suitable for us to spend time on it since we need to work on other areas such as 2.2.

  • Marzio 13th February 2017, 10:41 pm

    hey Matt are you still developing the flex skin? Last time changelog was updated on july 2016

    • Matthew Horne 1st March 2017, 9:46 am

      Yes, I am currently working on an update for it.

Leave a Comment