WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WordPress Post Tabs] Remove unused p tags (1 post)

  1. duncmorley
    Member
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic