Hro is now on WordPress.org

Screen Shot 2013-10-23 at 2.36.24 PM

I’m pretty proud to announce that one of my own WordPress themes, Hro, is officially installable via Appearance > Install > Search in your own WordPress install!

I’ve been wanting to get one of my own WordPress themes on the official WordPress.org repo for over a year now, and Hro has made it so others can enjoy it too!

This edition Hro is going to be called Hro “Zp,” for ZenPress.

Submit WordPress theme without sidebar / register_sidebar hack

Below is what I used to get past Theme Check for WordPress since it required register_sidebar, but I did not have any sidebars.

<?php
        /**
         * Hack to get past theme check, which requires register_sidebar, 
         * though I am not going to have sidebar option as a part of my theme.
         *
         * I did not want to actually call this because I did not want to have the widgets
         * option show, when I don't even have a sidebar!
         */
        if(0){
                ?>register_sidebar();<?php
        }
?>