hiya, any easy way to swap the position of comments and date in the blog archives? ie. date first then separator then comments number?
If not, what template do i need to adjust to make this change?
Thanks amigos,
Bodhi
Hey bodhimcgee!
Could you provide us with a link to the site in question so that we can take a closer look please?
Best regards,
Rikard
Hey!
Add this to the functions.php file:
add_action('wp_footer', 'ava_custom_script_1');
function ava_custom_script_1(){
?>
<script>
(function($){
var meta = $('.slide-meta');
$(meta).each(function() {
var comment = $(this).find('.slide-meta-del').prev().detach();
var date = $(this).find('.slide-meta-del').next().detach();
$(comment).appendTo(this);
$(date).prependTo(this);
});
})(jQuery);
</script>
<?php
}
Regards,
Ismael
Hey!
It’s working fine on my end. Make sure to add it to the end of your functions.php file.
Consider using a child theme if your not already, http://kriesi.at/documentation/enfold/downloads/, and then add it to the child theme functions.php file.
Best regards,
Elliott