function addCover()
{
$page_options = array('suppress' => 'on', 'margin-left' => 15, 'margin-right' => 15);
$content = '<div id="half-title-page">';
$content .= '<h1 class="title">' . $this->bookTitle . '</h1>';
$content .= '</div>' . "\n";
if (!empty($this->bookMeta['pb_cover_image'])) {
$content .= '<div style="text-align:center;"><img src="' . $this->bookMeta['pb_cover_image'] . '" alt="book-cover" title="' . bloginfo('name') . ' book cover" /></div>';
}
$page = array('post_type' => 'cover', 'post_content' => $content, 'post_title' => '', 'mpdf_level' => 1, 'mpdf_omit_toc' => true);
$this->addPage($page, $page_options, false, false);
}