Hello,
I’ve just updated our theme. At the time, you really helped me with this post: https://kriesi.at/support/topic/move-featured-image-below-post-title-date-etc/#post-185070
All worked fine, until the update. Now, when I go to the single post page, the title is once again underneath the featured image.
Here, it’s fine: http://www.targettraining.eu/blog/
But here, it’s not: http://www.targettraining.eu/emails-effective-subject-lines/
I’ve checked and doublechecked the instructions you gave me last time. I’ve also tried changing the loop-index.php as per a different post I found on the forum. That inverted the problem, and it was out of aligment. So I changed that back.
Can you help me out with this one more time?
Thanks in advance, as always.
Brenda
Hi Brenda,
Discard my previous solution, instead try adding this code at the very end of your theme / child theme functions.php file:
function add_custom_script(){
if(is_singular('post')){
?>
<script>
(function($){
$(window).load(function() {
$('article.post').each(function(){
$(this).find('.entry-content-header').after($(this).find('.big-preview').detach());
})
});
})(jQuery);
</script>
<?php
}
}
add_action('wp_footer', 'add_custom_script');
Regards,
Josue
Hi Josue,
That does the job. Thanks a lot!
Brenda