Wordpress line breaks not working

Sometimes WordPress editor acts weird. I am using it for a long time but still I face issues with it like inserting lists, line spaces, line breaks, tab etc. One such problem that I face too often is the missing line break between my headings and paragraphs. Every time I enter space between the two lines, WordPress strips out the code and resets it with no line break. If you are also facing the same issue that I have mentioned above then follow the below solution to fix it in your WordPress post.

Sometimes you may even need to add two line breaks, depending on how well your WordPress editor is following you. If you do something else to fix this, then please your work around with others? He started DigitalHarpreet.

wordpress line breaks not working

Great Post! WordPress is the best way creating websites and blog. I really liked this post. Thanks for sharing with us. This worpress is really annoying me I have added the line breaks and saved it then I go back to the visual editor and if I then switch back to the html editor the line break is GONE!

Why is it doing this I have wasted so much time with this and am ready to pick another type of site because this is just rediculous. Not sure why it is not working for you guys. Try adding more than one and see if it works. Is it still not working in for you in the new wordpress editor? WordPress Editor sometimes behaves weird.

Are you not using the most recent version of WordPress? Use WordPress version 5. Your email address will not be published. This site uses Akismet to reduce spam. Learn how your comment data is processed. What Others Are Reading. Claude Corry July 5, at am. Harpreet Author July 6, at am. Vincent Fink January 20, at pm. Harpreet Author January 31, at pm.

Mark August 8, at am. Harpreet Author August 20, at pm. Leave a Reply Cancel reply Your email address will not be published. Latest From Blog. July 4, May 28, May 17, March 19, The problem they were having was a WordPress plugin was causing an error and actually locking them out of the WordPress Admin screen so that they could not login to fix the problem! If this post helps you please let me know by leaving a comment on this site.

If an error or problem does occur on your WordPress site it typically happens after upgrading, installing, or activating a new plugin or theme, or upgrading the WordPress platform itself. After activating or upgrading a plugin within WordPress, it is not uncommon for WordPress to display an error like the following somewhere on your Admin screen or sometimes even within your website:.

It is very important and highly recommended that after upgrading, installing, or activating a new plugin or theme or making any other changes to your website or theme templates that you take the time to experiment with and thoroughly test your website and even your Admin screens to make sure that your site and backend still looks and functions as it should.

In this case if the error message goes away and it looks like the plugin is installed and activated even if you received an error saying the plugin did not activate successfullyyou are probably OK to leave that plugin activated, if not you probably want to deactivate or delete the plugin.

If it looks like the plugin activated OK but the upgrade or install caused an error it may be that the installation script threw an error, but maybe the plugin will still work. But on some occasions a plugin error or conflict can break your website or even lock you out of your Admin Dashboard when trying to login. What should you do if you are having problems with a plugin? In an effort to diagnose and fix the problem with your website the first thing to try is to deactivate any plugin that you recently upgraded, installed, or activated you may also want to deactivate other plugins as well, even if not recently upgraded or activated.

Once you have identified which plugin is causing misery in your life, and if deactivating the conflicting plugin did not fix your problem, the next step you should take is to DELETE the offending plugin entirely. Deleting a plugin may sound radical, but it is a step I have had to take several times, and it always works thank you, WordPress.

This may be the only option you have if you are locked out of your Admin login. The best way to delete the plugin is by deleting the whole folder that the plugin created within your plugin directory on the remote server. To access remote files you can use the File Manager within the Control Panel available within your web host, or you can use an FTP client to access the remote files on the server in order to delete the offending plugin.

There are many FTP clients available, some of them even free search Google if you need more :. Once you have deleted the entire plugin folder then logging into Admin should work fine.

Disappearing line breaks in WordPress – SOLVED

Gratefully, WordPress responds to deleted plugins very well …if you are on the plugins screen you will see a note displayed at the top of the screen notifying you that a plugin has been deleted, and amazingly WordPress works just fine after deleting a plugin. Since WordPress handles deleting plugins so gracefully WordPress makes it easy to want to constantly experiment with more plugins to add more functionality to your website.

So go ahead and play around with plugins and themes, just be sure to backup your site now and then for safe measure. Of course, you may find that the problem persists even with the latest plugin release, in which case you have to to through the whole cycle of things again that I already mentioned in order to alleviate the problem.

If you continue to get errors every time you attempt to install a plugin, check to see if the error is related to a memory limit issue having to do with WordPress.

In this case the error may look something like:. Try changing the configuration value for your WordPress database memory allocation within the wp-settings. And change the 64M to M.

When I had this problem I adjusted the memory limit from 64M to M or even Mand it solved my problem so that I was able to install plugins without any issues. Cheers, I hope this article has helped someone.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service.

The dark mode beta is finally here. Change your preferences any time. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information.

I am adding text to a wordpress page and when I save the document the line breaks disappear. If I have two paragraphs sometimes they will stay in the second paragraph but disappear in the first. When I do inspect element the line breaks are showing but they are not showing on the actual page.

Wordpress can be a bit fussy with line breaks at times. While entering content into text editor press the Shift and Enter key together to make a line break. Try it. Learn more. Asked 4 years, 11 months ago. Active 8 months ago. Viewed 1k times. LTech LTech 1, 4 4 gold badges 19 19 silver badges 38 38 bronze badges.

Active Oldest Votes. Benjamin Dowson Benjamin Dowson 4 4 silver badges 13 13 bronze badges. Someone who isn't comfortable with editing the code can just install the plugin.

I think that might be the issue. Ash Patel Ash Patel 3, 1 1 gold badge 10 10 silver badges 26 26 bronze badges. Akhil Sivanandan Akhil Sivanandan 1 1 silver badge 10 10 bronze badges. You can also add empty class attributes to your break elements. Ronk Ronk 71 1 1 silver badge 4 4 bronze badges.

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog.

The Overflow How many jobs can be done at home? Featured on Meta. Community and Moderator guidelines for escalating issues via new response….

How to add br tag in wordpress

Feedback on Q2 Community Roadmap. Triage needs to be fixed urgently, and users need to be notified upon….They vanish, and your beautifully organized entry is transformed into a jumbled mess. Most likely, you have a picture aligned on the right or left, and you have text going part of the way down it, like this. You want the next paragraph to begin underneath the picture, like this, so that it will look elegant.

So how did I just achieve that? I got this information from this forum discussion. This little bit of code tells WordPress to begin the next paragraph underneath the picture, not next to it. God only knows. You are commenting using your WordPress. You are commenting using your Google account. You are commenting using your Twitter account. You are commenting using your Facebook account. Notify me of new comments via email. Notify me of new posts via email. Blog at WordPress. Follow: RSS Twitter.

But there is a solution. So, to clarify, your entry would look like this: A paragraph of text with an aligned image. Share this: Twitter Facebook. Like this: Like Loading One Comment. Youssef Belkziz permalink. Leave a Reply Cancel reply Enter your comment hereTo make it short: on the same page, the line break might work for some sentences and not for others.

I did not install new plugins or a new version of wordpress. I find it absolutely amazing how the code within a same page can randomly work or not. I tried writing other posts and now they run into that issue as well. I tried displaying the page with different browsers and computers PC and Mac.

I tried writing using different browsers and computers. I tried typing the same text above, under, anywhere else in the article. It worked! Anyone has a suggestion? I want a line break.

wordpress line breaks not working

I have an another website without Gutenberg installed and it works properly. I often use it in bullet lists, when I want something like a link on a new line, without creating a new bullet. Today, this stopped working altogether. Skip to content WordPress.

wordpress line breaks not working

Skip to content. Viewing 5 replies - 1 through 5 of 5 total. Long Nguyen longnguyen 1 year, 6 months ago. How to fix this? In: Fixing WordPress 5 replies 4 participants Last reply from: grety22 Last activity: 1 year, 2 months ago Status: not resolved. Topic Tags gutenberg issue line-break.While WordPress is really easy to use, there are some common WordPress errors that can make you panic.

The good thing is that the WordPress error you are seeing on your site is most likely been reported and resolved by someone before you. In this article, we will cover the 40 most common WordPress errors along with showing you how to fix all of these common WordPress errors.

Important: Before trying to fix any WordPress error, make sure that you have a complete WordPress backup. You can use UpdraftPlus or use this tutorial to manually create a WordPress backup. In case you are unable to resolve your issue from the steps mentioned in this article, then please contact your WordPress hosting company. This error usually appears when there is something wrong, but the server is unable to identify where the problem is.

Since the error message does not indicate where you should look for the error, it is pretty much up to you to figure this out. We have compiled a list of solutions that you can try and one of them will help you resolve it. See how to fix internal server error in WordPress. WordPress introduced a fatal error protection feature in WordPress 5. For full details, WordPress then sends an email notification on your WordPress admin email address.

This email message contains a link to access the backend and attempt to fix the error. This error message can be triggered by any of the fatal errors mentioned in this article.

The easiest way to fix this is to make sure that your WordPress admin email address is correct and that you can receive WordPress notification emails.

50 Most Common WordPress Errors and How to Fix Them

This error usually occurs when you are trying to add code snippets into WordPress and have accidentally missed something or the code has incorrect syntax. This will result into a PHP parse error and you will see a notice like:. The error message would indicate the unexpected thing found in the code and the location of the script where the error occurred with line number.

To fix this issue you will have to correct the syntax. Most of the time it is a missing bracket, or some unexpected character in the code. This error message is clear that your website is unable to connect to the database.

wordpress line breaks not working

However solving this error can be tricky for beginners. Usually this occurs when a user has entered or modified their database credentials database host, database username, and database password incorrectly. Sometimes your database server could be unresponsive, or your database may have corrupted. However, mostly it is incorrect database login credentials.

Take a look at common solutions for this problem. This error usually results into a plain white screen with no error message. This makes it the most puzzling because you have no clue where to look and what to fix.

Most of the time it is caused when a script exhausts PHP memory limit. It can also happen due to a configuration on the server. It is also possible that a user would only see white screen of death on certain sections of their site.

The symptoms of this error is that when a user visits a single post on their site they get a page — not found error.By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. It only takes a minute to sign up. 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.

Subscribe to RSS

So somehow the editor is not able to show the line break? If I save the editor again the line break disappears from the post as well. Which I did and now line breaks don't work at all.

I have build a custom page where the posts are shown with the. You've stumbled across a 'hidden' feature of WordPress and TinyMCE the visual editor it has a problem with line breaks and strips them out. Ah sorry I just realized that I had margin: 0 on all elements to reset all defaults in browsers Sign up to join this community. The best answers are voted up and rise to the top. Home Questions Tags Users Unanswered.

Asked 7 years, 9 months ago. Active 7 years, 8 months ago. Viewed 6k times. Any ideas? Ronnie Jespersen Ronnie Jespersen 2 2 silver badges 8 8 bronze badges. Active Oldest Votes. Damien Damien 2, 2 2 gold badges 10 10 silver badges 25 25 bronze badges.

There is no way to handle this in any other way?


thoughts on “Wordpress line breaks not working

Leave a Reply

Your email address will not be published. Required fields are marked *