/** * Generates HTML to display a given array of entries * * @param array $entries an array of entries to be formatted * @return string HTML markup to display the entry */ protected function generate_template_tags() { parent::generate_template_tags(); // Add custom tags here foreach ($this->entries as $entry) { $entry->contact_form = $this->generate_contact_form(); } }