<?php the_post(); $layout = Upfront_Output::get_layout(Upfront_EntityResolver::get_entity_ids()); get_header(); echo $layout->apply_layout(); get_footer();
public function __construct($data) { //Make sure all the properties are initialized $data['properties'] = $this->merge_default_properties($data); parent::__construct($data); Upfront_Output::$current_object = $this; }