Support » Fixing WordPress » Automatically change text to superscript?

  • Does anyone know a way to automatically change text to superscript? I have a site loaded with hundreds of Registration marks, and they need to be superscript.

    I’ve tried a few javascript snippets, but nothing worked. This was my last attempt:

    <script type="text/javascript">
    jQuery(document).ready(function() {
     $("body").html(
     $("body").html().replace("®", " <sup>®</sup> ")
     );
     });
     </script>

    Anyone know of a way that works in WordPress, maybe a function or something?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Automatically change text to superscript?’ is closed to new replies.