Hidden input creates extra paragraph if your page/post does not start with a
-
Great plugin and ridiculously well documented code!
I’ve got a slight problem with how Frizzly inserts a hidden <input> into the page. If my post or page starts with a paragraph then it inserts it in at the start of the <p> and my content is not effected.
However if my page starts with a heading such as <h2>, Frizzly is inserted as an extra paragraph (probably because WordPress does this automatically). Could this hidden content be inserted within a <div> instead so that I don’t get extra space at the top of some pages?
Targeting the first child <p> of a page with CSS wouldn’t work as some pages start with paragraphs but some start with headings.
- The topic ‘Hidden input creates extra paragraph if your page/post does not start with a’ is closed to new replies.