This topic has 7 replies, 3 voices, and was last updated 10 months ago ago by Andrew Mitchell
Category Description after content not showing line breaks
https://www.kolesa-newbike.si/elektricna-kolesa-2/
https://i.imgur.com/1WhjUyN.jpeg
Hello, Ziga32
Edit content via Text tab and use <br>
, for example – https://prnt.sc/AzvJIZzVHDxJ or use <p>
– https://prnt.sc/n3taw1Byfis8
Best Regards,
8Themes Team
I know, but it’s hard to tell a client to use this. Is there an universal solution?
In this case, static blocks can be created with the desired content, and show it using shortcode, for example – https://prnt.sc/Czu6YB4JBV84
Provide the client with examples, so he just repeats your actions.
Best Regards,
8Themes Team
But this already created content can not be made to show like it should, without using the p and br tags?
https://i.imgur.com/1WhjUyN.jpeg
You may try to add the next code to your child-theme/functions.php
remove_filter ('the_content', 'wpautop');
OR
you may try to type not simple <br>
but <br class="">
Also, you may read about other solutions described in this article -> https://blog.templatetoaster.com/wordpress-line-break-not-working/
Best Regards,
8Themes Team
Dear ziga32,
We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.
Click here to rate now: https://themeforest.net/downloads
Thank you sincerely for your ongoing support!
Best Regards,
The 8Theme Team
Tagged: breaks, category, description, line, themes, woocommerce, wordpress
The issue related to '‘Category Description after content not showing line breaks’' has been successfully resolved, and the topic is now closed for further responses