Title below featured image
Answered on October 1, 2016.
This is final solution for moving title under the featured image depending it’s on the post archive page (homepage in my case) or single post page, in which previously I added a div with the “swapper” id. I used that method because I also want my title under the top-most object div (zoomify) on single post.
jQuery(function($) { $(document).ready( function() { if ($("body").hasClass("home")) { jQuery('article').each(function(){ jQuery(this).find('header').before(jQuery(this).find('.thumbnail').detach()); }); } else { $('header').insertAfter('#swapper'); } }); }(jQuery));
Works flawlessly here.