WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WordPress Post Tabs] Remove unused p tags

[Plugin: WordPress Post Tabs] Remove unused p tags

  • This is driving me nuts!! I want to remove the unused <p> tags that WordPress is generating with the content area for each tag. This is my shortcode:

    [tab name="Tab 1"]
    
    Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
    
    [/tab]
    
    [tab name="Tab 2"]
    
    Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
    
    [/tab]
    
    [end_tabset]

    The plugin is generation this:

    <p></p>
    <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
    <p></p>

    Closing the gabs up just turns the <p> tags to
    tags which is even worse. What would be useful is turn the autop feature off but only for the tabbed content.

  • The topic ‘[Plugin: WordPress Post Tabs] Remove unused p tags’ is closed to new replies.
Skip to toolbar