setTimeout(function(){
jQuery(".section-post-excerpt h3").addClass('h3ToDelete');
jQuery(".h3ToDelete").each(function(index) {
console.log("Cambiando h2 por h3");
var texto = jQuery( this ).html();
jQuery( this ).after('<h2 class="h3">'+texto+'</h2>')
jQuery( this ).remove();
});
}, 2500);

No hay comentarios:
Publicar un comentario