Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1253032

    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?

    #1253298

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Move date to top under headline: overview AND single post’ is closed to new replies.