function mh_page_title_output() { if (!is_front_page()) { echo '<header class="post-header">' . "\n"; echo '<h1 class="entry-title">'; mh_page_title(); echo '</h1>' . "\n"; echo '</header>' . "\n"; } }
function mh_page_title_output() { global $options; $layout = isset($options['page_title_layout']) ? $options['page_title_layout'] : 'layout1'; if (!is_front_page()) { if ($options['page_title_layout'] == 'layout1') { echo '<div class="page-title-top"></div>' . "\n"; } echo '<h1 class="page-title page-title-' . $options['page_title_layout'] . '">'; mh_page_title(); echo '</h1>'; } }
<?php /* Template for page title output - Layout 1 */ ?> <div class="page-title-top"></div> <h1 class="page-title page-title-layout1"><?php mh_page_title(); ?> </h1>