Workaround for scripts in WordPress K2 HTML sidebar module

I found the other day that I couldn’t create a link roll on my K2 sidebar. There is some problem where it doesn’t like <script> tags in the “Text, HTML, and php” module, and won’t save. I’m not the only one who has had this problem. It might be platform dependent, since it works on my mac, but not on the solaris based computer hosting this blog.

I found I can get around the problem by exporting the working sidebar settings from my mac, and importing them to the real wordpress site. Another way is to create a dummy HTML module, and then edit it, replacing the dummy text with the <script> code. The number just before the text is the number of characters in the text, and needs to be correct.

0 Responses to “Workaround for scripts in WordPress K2 HTML sidebar module”

Comments are currently closed.