I want to set the date below the headline. For single posts i found this for the function.php that works fine:
//-------------------------
// JS - Meta after title
// ------------------------
function ava_move_meta_after_title(){
?>
<script>
jQuery('.single .post-entry ').each(function(i) {
var postTitle = jQuery(this).find('.post-title');
var metaInfo = jQuery(this).find('.post-meta-infos');
jQuery(metaInfo).insertAfter(postTitle);
});
</script>
<?php
}
add_action('wp_footer', 'ava_move_meta_after_title');
BUT in the overview page of news it is still at the end of the text blogs .. how can i replace it here?
Hey Sebastian,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
Victoria