Portal of Knowledge The blog of Sam Leach. Years late.


4
Oct/09
0

Writing tags in wordpress posts is a hassle

In order do display code in wordpress posts you not only have to "code" them but also replace any SmallerThan, GreaterThan or / with these character entities or extended characters. Otherwise wordpress takes it as html, which makes sence really.


SmallerThan = & l t ;
GreaterThan = & g t ;
/ = & # 4 7 ;
] = & # 9 3 ;
[ = & # 9 1 ;
" = & # 3 4 ;
' = & # 3 9 ;

I found the info here at Wordpress Codex

  • Share/Bookmark
Comments (0) Trackbacks (1)

Leave a comment