The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
28 views

Why is WP ignoring my line breaks?

WP is using TinyMCE as a WYSiWYG editor. So why then is WP ignoring my line breaks? I really shouldn't have to do: echo wpautop( $some_long_text ); (large picture: http://prntscr.com/4re6xv) Here ...
0
votes
1answer
32 views

How to Retain Line Breaks From User Profile Text Fields

I am using <?php the_author_meta( $field, $userID ); ?> to display a user biographical info. In the users bio info box, there are physical line breaks present. Yet the results from ...
0
votes
1answer
370 views

How to keep &nbsp; non-breaking spaces in the visual editor?

I often add &nbsp; between connecting words so they break down together to a new line in important text. Switching to visual tab then back to text tab removes these. What can I do to keep them and ...
0
votes
1answer
80 views

Line break no working on theme

I am working on an e-commerce site and the line breaks wont work, neither using the return button nor using <br /> . I have been looking around but haven't found a solution that works. I would ...
3
votes
9answers
726 views

disable WP automatically inserted line breaks after an image

I've set medium sized images to a custom size which should allow for both of the images to align horizontally within the post. (The full post width is 880px, medium images are set to 413px.) My ...
1
vote
1answer
2k views

Remove empty lines (&nbsp;) when author updates their post

Whenever adding an empty line between paragraphs using TinyMCE, the &nbsp; character entity is added. How can I strip the content of all instances of this character whenever an author updates ...
-1
votes
1answer
119 views

Disabled visual editor and Wordpress keeps adding line-breaks to my code

I've disabled visual editor, so this can't be an issue with switching between the two different editors as I've seen in many questions related to this same issue. I'm pasting code into the page like: ...
0
votes
1answer
32 views

Wordpress post text starts newline after 93 characters

When typing the text of a new post, my text stops halfway the textarea and starts on a new line again. There are no linebreaks after a cut-ff sentence. When I type a single line of characters the ...
12
votes
2answers
1k views

Switch between Visual and HTML tab freely

So this question has been raised many times under different flags, however I'd like to present a unified thread for an ultimate solution to this issue. In WordPress, by default, when switching back ...
0
votes
0answers
217 views

Line break - ever-confusing in new editor

I can see this issue has been discussed at length but I'm still struggling to find a solution. I'm trying to get reasonable spacing between paragraphs Between first two paragraphs, I'm using one line ...
1
vote
1answer
306 views

br tags on backend not showing up on frontend

I was really searching here for a solution for this but I couldn't find anything. Problem: br and/or br / tags which I put into my content on the backend were just not showing up on the frontend. No ...
0
votes
1answer
186 views

Wrap Meta Box with <li> and </li> for each new line

I'm trying to automate one of our posting aspects. We post a lot of lyrics and have a system of meta boxes which we use to input various pieces of information about each set of lyrics we post. One ...
1
vote
1answer
139 views

Processing shortcodes in groups (separated by line breaks)?

The Project I'm working on a plugin to resize and embed rows of images using shortcodes that will be converted into <img> tags. In most cases there will be multiple images per row, and the ...
2
votes
1answer
2k views

How to include line-breaks in the_excerpt?

how can I include a line-break inside the_excerpt. I’ve modified the length and the more-button via my functions.php. I’m using teaser for every blog-entry and sometimes it looks a bit ugly, that ...
1
vote
0answers
210 views

How can I remove <br /> line breaks from manually formatted HTML?

I see a lot of posts here and elsewhere having trouble adding line breaks for some reason, but I'm trying to remove them. I'm new to WP, and I see that when editing in "HTML" mode the text is rendered ...
0
votes
5answers
2k views

Preserving line breaks when saving and displaying custom fields data

I'm collecting data via a form plugin and save that data in form of a post with several custom fields. I then display the content of the post and the custom fields on my post template via <?php ...
2
votes
3answers
7k views

Stop editor from removing <p> tags and replacing them with nbsp

When I enter content in posts/pages' WYSIWYG editor, I do not get <p> when ending paragraphs, just &nbsps. If I manually place <p></p> in the HTML mode, they are stripped as ...
1
vote
2answers
2k views

line break are not working when editing a post [closed]

So I have a problem when making a post. If I press enter and make a new line in the editor and press safe the line break diapers. But when I show the post it have inserted a line break. So somehow the ...
1
vote
1answer
2k views

How to prevent pages from automatically adding line breaks?

I'm trying to style a form on a website, but I'm hitting a snag. Wordpress is automatically generating <br> tags when I directly edit the HTML for pages. What I've got is this: ...
1
vote
1answer
7k views

How to enable the <br /> tag in Wordpress posts and pages

i can't understand why so simple feature are disabled by Wordpress Team. I want have line breaking with "br" tag. On one wordpress forum was idea to modificate editor.js (in wp-admin/js) and ...
1
vote
3answers
2k views

Preserving tabs and line breaks in <pre><code> when switching from HTML to Visual Editor

Tabs placed in a <pre><code></code></pre> block are stripped and line breaks are removed leaving a single continuous line of text. This occurs when switching from html to ...
0
votes
2answers
1k views

How to add line breaks inside Gallery Captions

I am using this excellent piece of code to insert a line break in single image captions by way of inserting a pipe character... Now I would like your help to try to incorporate this into the gallery ...
0
votes
1answer
430 views

How can I force the Wordpress visual editor to preserve the line breaks after paragraphs?

If I write and put a line break, it make the paragraph tags appropriately, but on this one page the line breaks aren't there: http://jacksongariety.com/gundoglabs/jobs
1
vote
1answer
656 views

Shift-Enter in tinyMCE (wp 3.3.1) not working

With wordpress version 3.3.1, shift-enter to insert linebreaks in pages and posts is not working anymore. Has anybody observed this as well? Is there a fix for that? Thanks!
1
vote
1answer
176 views

Unwanted line break before <input>

Based on help here ( Use of Javascript with Dojo/Dijit on a WordPress page) I got Dijit half way working using a custom template. But, I still can't figure out why WP inserts breaks where it does. ...
1
vote
1answer
374 views

Pasting code into WordPress post - LFs being eaten

I'm sure this is an inappropriate question for this SE because it's not programming related AFAIK but maybe someone here has an idea. I've been posting code into my blog for years and have had no ...
14
votes
6answers
13k views

Extra TinyMCE editor strips <p> and <br> tags?

Hey guys, I've added a TinyMCE to some textareas that are displayed in a custom meta box. All of the formatting works perfectly fine, except that the editor will not save <p> or <br/> ...