Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

<br> in wordpress

  • 26-08-2010 01:29PM
    #1
    Registered Users, Registered Users 2 Posts: 8,070 ✭✭✭


    Doesnt work,
    i have looked around and issues related back to a few years.
    Some say <br/> works but nothing works perfectly

    what do people use?

    WYSWG , wish they never existed :mad:


Comments

  • Registered Users, Registered Users 2 Posts: 9,579 ✭✭✭Webmonkey


    Do any HTML tags work? maybe they strip out such things as a security feature. I'm sure something like this can be configured?

    I haven't used word press enough though to know off top my head.


  • Registered Users, Registered Users 2 Posts: 8,070 ✭✭✭Placebo


    its a normal tinymce editor i think,
    all html works but <br> is stripped out,
    i might dig deep and try remove this.

    very annoying


  • Registered Users, Registered Users 2 Posts: 241 ✭✭fcrossen


    This is a feature. Wordpress cleans the HTML in posts.

    See http://codex.wordpress.org/How_WordPress_Processes_Post_Content for an explanation.

    There are a few workarounds here: http://wpbtips.wordpress.com/category/space-between-paragraphs/

    There should be a plugin that will help you.


  • Registered Users, Registered Users 2 Posts: 32 Suebee


    I find if you code <br />   it picks up the line break


  • Registered Users, Registered Users 2 Posts: 3,782 ✭✭✭Scotty #


    With TINY pressing ENTER usually inserts a <p>. If you press SHIFT+ENTER it should insert a <br>.

    Standard TINY sucks tbh.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 41 Freemancon


    Yep, Scotty has the right idea...if you are having trouble do 1 or more of the following
    1. I would turn off the editor by going to your user profile.
    2. Or just switch to the html editor and then enter your <p></p> this should give you a break. Not Great code and a bit of a work around but it should do the trick if you are not too concerned.
    3. Also, if you are not using the default editor but have added a plugin editor - unless you def need it...I personally would uninstall it and use the default editor.
    Scotty # wrote: »
    With TINY pressing ENTER usually inserts a <p>. If you press SHIFT+ENTER it should insert a <br>.

    Standard TINY sucks tbh.


Advertisement