/**
  *
  * Called after the theme is setup, allows us to setup hooks
  * post types, taxonomies etc
  *
  * @author Tim Perry
  *
  */
 public function afterSetupTheme()
 {
     $this->imageSizesHelper->registerImageSizes();
     $this->postTypeHelper->registerPostTypes();
     $this->taxonomyHelper->registerTaxonomies();
     $this->fieldsHelper->registerFieldGroups();
     $this->hooker->hookUp();
     $this->shortcodeHelper->registerShortcodes();
 }
Esempio n. 2
0
 /**
  *
  * Set up the hooker
  *
  * @param $file
  * @author Tim Perry
  *
  */
 public function init($file)
 {
     parent::init($file);
     $this->hooker->hookUp();
 }
Esempio n. 3
0
 /**
  *
  * Callback for the init action hook
  *
  * @author Tim Perry
  *
  */
 public function initHook()
 {
     $this->hooker->hookUp();
 }