Hi you,
Please copy this code and paste into the file functions.php (child-theme):
function spacey_post_header() {
?>
<header class="entry-header">
<?php
/**
* Functions hooked in to spacey_post_header_before action.
*/
do_action('spacey_post_header_before');
?>
<?php
if (is_single()) {
?>
<div class="entry-meta">
<?php
spacey_categories_link();
spacey_post_meta();
?>
</div>
<?php
the_title('<h1 class="alpha entry-title">', '</h1>');
?>
<?php } else {
spacey_categories_link();
?>
<div class="entry-meta">
<?php spacey_post_meta(); ?>
</div>
<?php
the_title(sprintf('<h2 class="alpha entry-title"><a href="%s" rel="bookmark">', esc_url(get_permalink())), '</a></h2>');
}
?>
<?php
do_action('spacey_post_header_after');
?>
</header><!-- .entry-header -->
<?php
}