• Resolved julietlynn

    (@julietlynn)


    Hi everyone. This is such a great plugin but I wonder if there is a way to have the Brand descrption retain paragraph breaks when it appears on the Brand page. I type the description into the description box when creating or editing a brand and I include paragraph spacing, but these are lost when going to the Brand page and I end up with one giant paragraph.

    Anyone have any ideas please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, I have solved this as it is something that I needed to add into my site.

    Go to the file /wp/wp-content/plugins/perfect-woocommerce-brands/classes/class-perfect-woocommerce-brands.php

    On line 163 in the ‘public function show_brand_description()’ section change

    echo $queried_object->description; to echo nl2br($queried_object->description);

    Hope this helps.

    Lee.

    • This reply was modified 7 years, 10 months ago by abyssaquatics.
    Thread Starter julietlynn

    (@julietlynn)

    Many thanks Lee, I’m grateful for your response. I did manage to find a work around in the meantime by installing the following free plugin which worked great: https://www.ads-software.com/plugins/allow-html-in-category-descriptions/

    Thanks again for your time and trouble!
    Juliet

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Brands Description paragraph breaks’ is closed to new replies.