Title below featured image

Asked on September 30, 2016 in Customization.

Hi, is there any elegant way to place titles & content on both blog & archive pages below the featured image (or, in other words move featured image to the top :)?

januszewskijarek Layers User
Reply
2 Answer(s)
Answered on October 1, 2016.

It seems I have found a working solution. Simple jQuery method:

 jQuery("header").detach().appendTo(".thumbnail");
 
Reply
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.

If I had read your article earlier, it would have been different. My ideas will definitely become more complete if you add your comments. It’s so wonderful turbo vpn apk

on February 25, 2020.

Every image is based on some title and people can easily understand through reading it. Occasionally you have to visit essayswriting org so that you become able to collect the different options that are suggestive.

on March 2, 2020.
Reply