GHOST 0.3: A Themes Structure

The theme structure in GHOST is something I’ve been really waiting to take a look at, mainly because I build websites and run blogs. The default theme casper is built using the handlebars template engine and we’re going to have a quick look at how everything is set up. Firstly I have to notice a resemblense to WordPress, which I personally like. Continue reading “GHOST 0.3: A Themes Structure”

Object / Class not available in WordPress Theme files

I began digging into WordPress Theme development on a more OOP based approach, when I noticed something odd about the availability of the object you get when you write your custom theme functions as a class in functions.php.

To be fair, it’s only odd because I’ve mainly been developing in other frameworks, which handle it after different conventions.
Continue reading “Object / Class not available in WordPress Theme files”