WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Line breaks don't work. (11 posts)

  1. theplotthins
    Member
    Posted 8 years ago #

    Hey. I searched, but all I got was people having the problem that wordpress would double the amount of line breaks. The problem I'm having is, no matter how many line breaks I have, either by pressing enter or using html, it only allows one or two. Any help is greatly appreciated.

  2. TechGnome
    Moderator
    Posted 8 years ago #

    That's the nature of HTML/browsers.... not WP.... if you want to force blank lines, you need to add   to add a non breaking space. That will force browsers to "respect" your blank lines.

    Tg

  3. theplotthins
    Member
    Posted 8 years ago #

    Thanks. Unfortunately I'm completely new to all of this. Could you tell me where to put that? Does it go in just like html tags in the entries?

  4. TechGnome
    Moderator
    Posted 8 years ago #

    In the text area where you are typing your post....

    type, type,, blah, blah,blah[hit the enter key]
    [hit the enter key]
     [hit the enter key]
     [hit the enter key]
     [hit the enter key]
     [hit the enter key]

    That will create 4 blank lines between the last set of text, and the next one.

    Tg

  5. theplotthins
    Member
    Posted 8 years ago #

    Thanks a lot.

  6. ch0de
    Member
    Posted 8 years ago #

    Are you sure that 4 BR tags wouldn't work? It should work.

  7. jennmiller
    Member
    Posted 8 years ago #

    This hasn't been cleared up in the first 100 search results, but I would like my visitors to be able to have line breaks (between paragraphs) in comments using the "enter" key, just like we have in posts. How is this done. My visitors aren't able to, nor would I ask them to, insert code into a text comment.

  8. TechGnome
    Moderator
    Posted 8 years ago #

    chode - they don't... it's the nature of HTML & browsers.

    jennmiller - shrug. plugin maybe?

    Tg

  9. jennmiller
    Member
    Posted 8 years ago #

    Thanks, TG I'll keep trying :) I idiotically just visited the plugin repository looking for the "Shrug.Plugin". D'oh!

  10. laslo
    Member
    Posted 8 years ago #

    so far what i figured out was to use:

     [BR]

    anytime i need a new line break.
    using only " " didnt work the last time i checked.

    so i'm still looking a better fancy way to get, say two line breaks from time to time, after a couple of paragraphs or whatever.

  11. laslo
    Member
    Posted 8 years ago #

    ok i meant to say

    'nbsp[BR]'

    and 'using only nbsp; '.......

Topic Closed

This topic has been closed to new replies.

About this Topic