Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #747873

    Hi,

    A client of mine wishes to change the position of the Tag, Title and date for her blogs. All blogs are listed on the blog page. A screenshot of how the result will be can be viewed here. Can you tell me what I need to change to achieve this?

    Thanks!
    Dan

    #749239

    Hi Daniel!

    Thank you for using Enfold.

    Could you please provide a link to the actual post? You can find the post template in the include > loop-index.php file. Or add this code in the functions.php file:

    function ava_custom_script_mod(){
    ?>
    <script>
    (function($){
    	function a() {
    		$('.single .post-meta-infos').insertAfter('.single .post-title');
    	}
    
        a();
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'ava_custom_script_mod');

    Regards,
    Ismael

    #749280

    Hi Ismael,

    Thanks for your response. I’ve added the loop-index.php file to my child theme so we can modify it. Can you help me with the file, point me in the right direction?

    The site isn’t live yet, so details to log in are in the private section.

    Thanks!
    Daniel

    #751274

    Hey!

    Did you try the script above? In the loop-index.php file, look for the post-meta-infos container and move it below the $title.

    echo $title;
    

    There are multiple instances of this variable.

    Regards,
    Ismael

    #755245

    Hi Ismael,

    I was trying to avoid using functions.php for this, but using the child theme and the loop-index.php file. It works, thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Re-arrange Tag, Title, Date’ is closed to new replies.