I'm running these on page load to ensure that all `h2` tags have an `span` inserted (it's a large WordPress site that needs to have this done to get the right styles) $('.bottomLine').each(function() { $(this).insertAfter($(this).parent().find('.price')); }); $('.prod-desc > h2').each(function() { $(this).wrapInner('<span />'); }) $('h2.review_text').each(function() { $(this).wrapInner('<span />'); }) $('.related > h2').each(function() { $(this).wrapInner('<span />'); }) $('.up-sells > h2').each(function() { $(this).wrapInner('<span />'); })