WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Adding To The Kses.PHP File

[Resolved] Adding To The Kses.PHP File

  • Kanashimi

    @kanashimi

    I’ve been attempting several times to add a paragraph break to my comments since they group together (ex: http://bitch.faithfuldreamer.net/archives/44#comment-504). While messing in the kses.php file to do as such (whether the < p > command or the < br > command) I continued to get errors and several times it would still not change anything within the comments even when I did not get errors, but they showed up in XHTML.

    Any help or ideas? Would be extremely grateful!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    @otto42

    You don’t need to manually add P tags to comments. Just hit enter. WordPress interprets that for you and inserts the necessary paragraph breaks.

    The comments you’re showing on that page do have P tags wrapping them correctly. They’re not spaced out much, but that’s more a CSS thing, not something where you need to be screwing around with kses.

    It is always in the theme’s stylesheet… some authors just love this idiotic setting:

    #commentlist p {
    		margin: 0;
    		padding: 0;
    		}

    Kanashimi

    @kanashimi

    Oh, thanks guys, editing margin and padding worked. I feel kind of idiotic now. Thanks again~

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Adding To The Kses.PHP File’ is closed to new replies.
Skip to toolbar