WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#18330 closed enhancement (wontfix)

Add a Class functionality to wpautop()

Reported by: wpsmith Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Formatting Keywords: has-patch
Focuses: Cc:

Description

It would be nice to be able to add a class to <p> with wpauto as an optional arg.

Attachments (1)

wpautop.patch (2.3 KB) - added by wpsmith 5 years ago.

Download all attachments as: .zip

Change History (3)

@wpsmith
5 years ago

#1 @scribu
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Erm... no.

Instead of each paragraph having a class, wrap that particular group of paragraphs in a container and add a class to the container.

Then you can style the paragraphs just as easily.

#2 @wpsmith
5 years ago

Yea, that's what I thought as I though through it a bit more.

Note: See TracTickets for help on using tickets.