Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Displaying HTML code on pages
#7
eatons Wrote:Have you tried pasting your code straight into the WYSIWYG editor?
Works for me!
http://eatons.net/tutorials/innnovationoutline/
I've tried this now that you've asked. My source code in the WYSIWYG editor is this:

Code:
<pre>
    &lt;?php

    /* Credit to ccagle8 for the original function; edited by Angryboy */

    function get_author_username($blogusername) { ... }

    ?&gt;</pre>

When viewed on the actual page, the source code becomes this:

Code:
<pre>    <!--?php

    /* Credit to ccagle8 for the original function; edited by Angryboy */

    function get_author_username($blogusername) { ... }

    ?--></pre>

Making it unviewable. Thanks for offering some help to me regardless :-)
Reply


Messages In This Thread
Displaying HTML code on pages - by Angryboy - 2012-04-03, 18:52:54
Displaying HTML code on pages - by mvlcek - 2012-04-03, 19:09:59
Displaying HTML code on pages - by marrco - 2012-04-03, 19:42:18
Displaying HTML code on pages - by Angryboy - 2012-04-03, 20:11:25
Displaying HTML code on pages - by mvlcek - 2012-04-03, 20:48:56
Displaying HTML code on pages - by eatons - 2012-04-04, 06:39:35
Displaying HTML code on pages - by Angryboy - 2012-04-04, 17:08:44
Displaying HTML code on pages - by eatons - 2012-04-04, 20:32:05
Displaying HTML code on pages - by Angryboy - 2012-04-04, 21:07:46



Users browsing this thread: 1 Guest(s)