WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Adding To The Kses.PHP File (4 posts)

  1. Kanashimi
    Member
    Posted 6 years ago #

    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!

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 6 years ago #

    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.

  3. moshu
    Member
    Posted 6 years ago #

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

    #commentlist p {
    		margin: 0;
    		padding: 0;
    		}
  4. Kanashimi
    Member
    Posted 6 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic