Using Anyvar for HTML-Code
I’m using Anyvar to simply insert HTML-code into my posts – without having to deal with the auto-p and html-stripping functions of the wordpress editor.
Now, the code i want to embed is something like “<div><form>blabla</form></div>”, the variable I determined is “optinform”.
So I’m writing something like this:
Hi, this is my text! <h3>Sign up now!</h3> [optinform]
The code I get out, is:
<p>Hi, this is my text!</p> <h3>Sign up now!</h3> <p><div><form>blabla</form></div></p>
How can I make wordpress to not put p-tags around my div-containers?
Thank you for your help.
- The topic ‘Using Anyvar for HTML-Code’ is closed to new replies.