function __construct($post) { //run the parrent constructor $this->show_excerpt = true; parent::__construct($post); }