Wenn du die jquery von WP nutzt, dann alle "$" durch "jQuery" ersetzen:
Code
<script type="text/javascript">
[COLOR=Red]jQuery[/COLOR](document).ready(function(){
[COLOR=Red]jQuery[/COLOR](".rounded-img, .rounded-img2").load(function() {
[COLOR=Red]jQuery[/COLOR](this).wrap(function(){
return '<span class="' + [COLOR=Red]jQuery[/COLOR](this).attr('class') + '" style="background:url(' + [COLOR=Red]jQuery[/COLOR](this).attr('src') + ') no-repeat center center; width: ' + [COLOR=Red]jQuery[/COLOR](this).width() + 'px; height: ' + [COLOR=Red]jQuery[/COLOR](this).height() + 'px;" />';
});
[COLOR=Red] jQuery[/COLOR](this).css("opacity","0");
});
});
</script>
Alles anzeigen
Und hast du den Bildern im Artikel die Classen .rounded-img oder .rounded-img2 gegeben?