My coding keeps disappearing
-
I am making a page where people can come, grab code for a graphic, and post it on their website or blog: https://allbiblicalquotes.com/bible-pictures/ . The code itself looks like this:
<div id="biblepicture_courage"></div> <script src="biblepictures.php?name=courage"></script>
When I put this in my own site wordpress strips out the top line or from <div> to </div>. I know this happens when I switch from html editor to visual editor. I would be content to just stay in html editor, but I don’t want the people who use my code to have to do that. Is there something that I can do to my code to get wordpress to keep it or is there a plug-in for wordpress?
Thanks!
- The topic ‘My coding keeps disappearing’ is closed to new replies.