Category Description after content not showing line breaks

This topic has 7 replies, 3 voices, and was last updated 10 months ago ago by Andrew Mitchell

  • Avatar: ziga32
    ziga32
    Participant
    February 7, 2023 at 14:32

    Category Description after content not showing line breaks
    https://www.kolesa-newbike.si/elektricna-kolesa-2/
    https://i.imgur.com/1WhjUyN.jpeg

    6 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 7, 2023 at 14:42

    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

    Avatar: ziga32
    ziga32
    Participant
    February 7, 2023 at 14:44

    I know, but it’s hard to tell a client to use this. Is there an universal solution?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 7, 2023 at 14:51

    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

    Avatar: ziga32
    ziga32
    Participant
    February 7, 2023 at 14:53

    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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 7, 2023 at 16:51

    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

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 18, 2024 at 10:28

    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

  • Viewing 7 results - 1 through 7 (of 7 total)

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

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.