place message in SPAN vs. DIV
-
Whether the user meets the content_control criteria or not, the message displayed is wrapped in a <DIV> statement. Since <DIV> is a block, the displayed text starts on a new line and ends with a new line.
If your “Controlled” text is intended to display in-line, this won’t do. As a work-around I modified the plug-in like this:
Edit classes/Shortcodes.php, lines 50 & 53. Change DIV to SPAN.
This is not a permanent solution since an update will over-write this modification.
I welcome comments on a better solution.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘place message in SPAN vs. DIV’ is closed to new replies.