Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1229899

    Hello there,
    is it possible to have a main title for the blog on top of the normal blog overview and the date of the blog previews on top ( now there is the date below the read more link)?
    Thank you!

    #1230360

    Hey NorthcoastProject,

    Could you please attach a mockup of what you’re trying to achieve? It’s not very clear where you want to move the date.

    Best regards,
    Victoria

    #1230386

    I just don’t want to have the date under the read more link. It would be nicer to have it under the Headline of the preview text. Not the last item of the preview.

    #1230674

    Hi NorthcoastProject,

    Here is the code you can put in your funtions.php

    
    add_action('wp_footer', 'ava_move_date');
    function ava_move_date(){
    	?>
    	<script type="text/javascript">
    		(function($) {	
                $(document).ready(function() {
                    $('.blog .post-entry.post-entry-type-standard').each(function () {
                        var date = $(this).find('.post-meta-infos');
                        var heading_wrapper = $(this).find('.blog-categories.minor-meta');
    
                        date.insertAfter(heading_wrapper);
                    });
                });
    		})(jQuery);
    	</script>
    	<?php
    }
    

    and add this css too:

    
    .html_elegant-blog #top .post-entry .post-meta-infos {
        float: none;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1230880

    Thanks, no I adapted so the date is above the headline. It works just fine. Great!

    add_action('wp_footer', 'ava_move_date');
    function ava_move_date(){
        ?>
        <script type="text/javascript">
            (function($) {
                $(document).ready(function() {
                    $('.template-blog .post-entry.post-entry-type-standard').each(function () {
                        var date = $(this).find('.post-meta-infos');
                        var heading_wrapper = $(this).find('.av-heading-wrapper');
    
                        date.insertBefore(heading_wrapper);
                    });
                });
            })(jQuery);
        </script>
        <?php
    }
    #1230881

    This is the right sentence: Thanks, NOW I adapted so the date is above the headline. It works just fine. Great!

    #1231031

    Hi,

    Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1231168

    Everything is fine! Thank you very much.

    #1231426

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘blog overview’ is closed to new replies.