WordPress.org

Support

Support » Themes and Templates » How to retain the text in HTML editor

How to retain the text in HTML editor

  • I added the following code, but the html editor within wordpress adds BR tags and changes the “&” to “&#0338”.

    How do I retain this code as is in a WP page?

    <iframe id="forum_embed"
      src="javascript:void(0)"
      scrolling="no"
      frameborder="0"
      width="630"
      height="700">
    </iframe>
    <script type="text/javascript">
      document.getElementById('forum_embed').src =
         'https://groups.google.com/a/mywebsite.com/forum/embed/?place=forum/xplore'
         + '&showsearch=false&showpopout=false&showtabs=false'
         + '&parenturl=' + encodeURIComponent(window.location.href);
    </script>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to retain the text in HTML editor’ is closed to new replies.