Hello,
I have used this code to move author and date at the beginning of the article
But it is working in some cases and others not. Please see in private content
Do you have another solution, possibly without using jquery that can give unpredictable results?
Maybe with some wp_dequeue_script and wp_enqueue_scripts?
Thank you
Mauro
Hi profumopuntoit,
Can you try to replace this code with this one:
function move_postmeta(){
?>
<script>
jQuery(window).load(function(){
jQuery( ".single.single-post .post-meta-infos" ).insertBefore('.entry-content' );
}());
</script>
<?php
}
add_action('wp_footer', 'move_postmeta');
Best regards,
Nikko
It’s Ok
Thank you Nikko
Hi profumopuntoit,
We’re glad that we could help you :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko