Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #665608
    #665639

    Hey RealBasics,

    Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Vinay

    #666036

    Sure. I’ve added the links in the private section.

    But basically on the News page each archive item is listed in Title / Excerpt / Meta, and on single pages it’s Title / Full Text / Meta.

    In both instances the client wants it to be title, then meta, then content.

    #667121

    Hi,

    Thank you for the info. Please add this in the functions.php file:

    // custom script
    add_action('wp_footer', 'add_custom_script');
    function add_custom_script(){
    ?>
    <script>
    (function($){
    	// custom script
    	function i() {
    		$('.template-blog article').each(function() {
    			var meta = $(this).find('.post-meta-infos');
    				title = $(this).find('.post-title');
    
    				$(meta).insertAfter(title);
    		});
    	}
    
    	i();
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');
    

    UPDATE: We modified the code a bit.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.