Skip to main content

Questions tagged [line-breaks]

0 votes
1 answer
42 views

When editing an existing page or post, WordPress keeps adding a <br/> tag after the first <p> in a Text Block upon opening, but only if the <p> doesn't contain any additional ...
John C's user avatar
  • 1
1 vote
2 answers
499 views

I've been trying to figure this out for a while and I can't seem to figure it out using <br> or \n but not sure where to place it. I've got this php line for email results and I want to place a ...
diegoindigo's user avatar
0 votes
1 answer
120 views

Here's how my text looks like in my text editor - https://prnt.sc/FPDv_zIwQz2R Here's how the web page appears when previewed - https://prnt.sc/fvKit11H3Xr4 As you can see, there's no break above the ....
Trajko Dangov's user avatar
0 votes
0 answers
65 views

The line breaks are stripped off when the p tag has a dir attribute inserted, to explain further I'll list some examples. Let's say we have 2 lines of text as following <p>Text Paragraph Number ...
David Buik's user avatar
0 votes
1 answer
882 views

Disclaimer: This question is not about "frontend" nav menu I am looking for a way how to break line in a menu item label in WP admin sidebar menu, sidereason is that the custom post type ...
jave.web's user avatar
  • 517
1 vote
2 answers
1k views

When writting a description for a Woocoomerce Product and inserting a line break with br or p Tag, WordPress automatically removes it. This is really annoying because on some points, i want to have ...
käsebällchen's user avatar
2 votes
1 answer
2k views

I'm using a theme that use the_excerpt() function to show the excerpt of the post. All posts have not set custom excerpt, so the_excerpt() returns a piece of post content. In some post first paragraph ...
Lety's user avatar
  • 131
0 votes
0 answers
155 views

With the advent of many different screensizes, manual line ending (not sentence-endings) has become a bit of a guessing/repetitive task. I want to avoid having the first short word of a new sentence ...
Rob de Cleen's user avatar
0 votes
2 answers
294 views

I have custom fields to display in a post. But all of the custom fields are displaying in a single continuous line, while i want them in separate lines. I am not a coder. I tried <br>, <li&...
Kishore Chandra's user avatar
1 vote
0 answers
654 views

While working on a custom plugin, I needed to add the wp_editor in the admin to let the user add its own content. I want the user to be able to write custom rich texts with the "Visual" editor mode ...
fraxool's user avatar
  • 121
0 votes
1 answer
342 views

A line break in a table cell is converted to ⟨br ⁄ ⟩ when it is saved. I must remove all line breaks from the cell content else there is excessive space between paragraphs, list items, etc. It makes a ...
Tope Leye's user avatar
1 vote
1 answer
225 views

In the code editor, pasting: <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script> var words = []; words.push('vocabulary'); ...
Ooker's user avatar
  • 332
3 votes
1 answer
1k views

I have a problem with my theme... I use Agama, and i've checkmarked "description" in the menu settings, but it won't display it on the frontend, since the theme doesn't allow it. But then I found ...
Morten Buller Resen Kibsgaard's user avatar
2 votes
0 answers
599 views

So I have a quote in my page template and I would like to give the user the opportunity to add line breaks whenever they desire to do so. I wanted the blockquote to have an extra <p> tag inside ...
Interactive's user avatar
  • 1,006
0 votes
1 answer
2k views

I would like to use ENTER button to insert line break, not SHIFT + ENTER by default. I added this code into function.php. It works but the problem is the text-align buttons are not working. When I ...
Topy's user avatar
  • 163

15 30 50 per page