WordPress Deletes “params” Attribute in Posts/Pages
-
I’m trying to get LightWindow to work on my wordpress blog. I have a bunch of links that when clicked, they open up in a modal box (with an image/swf inside). The thing is, this is an example code that is fully functional:
<a href="gallery/header.swf" class="lightwindow" params="lightwindow_width=800,lightwindow_height=345">Link Name</a>(Note – I add this in the HTML tab and it actually works after I save the page.)
Once I switch to the “Visual” tab and then back to the “HTML” tab, I see WordPress has removed the “params” tags, leaving me with:
<a href="gallery/header.swf" class="lightwindow">Link Name</a>(The code doesn’t function now…)
How do I go about solving this? I’ve gone through WAY too much work here to try and find and then switch to another modal box.
Please help.
I appreciate any answers.
(I’m assuming I can edit a core file to tell wordpress not to remove stuff from posts/pages, right?)
The topic ‘WordPress Deletes “params” Attribute in Posts/Pages’ is closed to new replies.