Extraneous HTML using one_third
-
Extraneous HTML:
On the same page, we get some extraneous HTML that I cannot find anywhere in a template file. It is quite unclear why this is there.
The Extraneous HTML is (here):
<div class="clear_column"></div> <p></p>
So the content is like this:
[one_third] <h3>Text Here</h3> <ul> <li>Text Here/li> <li>Text Here</li> <li>Text Here</li> <li>Text Here</li> <li>Text Here</li> <li>Text Here</li> <li>Text Here</li> <li>Text Here</li> </ul> [/one_third][one_third] <h3>Text Here</h3> <ul> <li>Text Here</li> <li>Text Here</li> <li>Text Here</li> <li>Text Here</li> <li>Text Here</li> <li>Text Here</li> </ul> [/one_third][one_third_last] <h3>Text Here</h3> <ul> <li>Text Here</li> <li>Text Here</li> </ul> [/one_third_last]
Oddly, on same page, below this I use:
[one_half]Text Here[/one_half][one_half_last]Text Here[/one_half_last]
And there is no extraneous HTML output.
I want the gap from the inserted empty paragraph to go away. I can’t hide un-styled <p>’s.
The theme’s this has been tested on are Twentysixteen and Twentyseventeen. Note: on the twentysixteen theme setup, I added a shortcode prefix per your FAQ:
add_filter( 'cpsh_prefix', 'set_shortcode_prefix' ); function set_shortcode_prefix() { return 'myprefix_'; // edit this part if needed }
and had the same results. So, does not appear to be a shortcode conflict:
Any thoughts on a fix?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Extraneous HTML using one_third’ is closed to new replies.