@marianne-undheim: For this, you’ll need to create a child theme. You can find more details on creating child theme HERE. Then in your child theme’s functions.php, add the following codes:
function catchbox_posted_on_pages() {
printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date updated" datetime="%3$s" pubdate>%4$s</time></a>', 'catch-box' ),
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() )
);
}
Next copy, content-page.php file from parent theme to child theme. And add the following line:
<?php catchbox_posted_on_pages(); ?>
Just after <h1 class="entry-title"><?php the_title(); ?></h1>
line within the <header>
tag.
Regards,
Mahesh