• Resolved Filipe Costa

    (@filipecostacom)


    Hi there! Great plugin ??

    Will send the Portuguese translation anytime now…

    Is it possible to customize the number of brands per line / column on brand page? I currently have 10 brands per page and i need to show more.

    Also, after reading this https://www.ads-software.com/support/topic/brand-description-html-tags/#post-8941451 and posted a comment i would like to ask again if its possible to add tags to brand page, specifically for using Font Awesome. I can add tags like <h3> but <i class="fa fa-globe fa-2x" aria-hidden="true"></i> are not showing.

    In https://docs.woocommerce.com/document/allow-html-in-term-category-tag-descriptions/ they describe a way to add code to functions.php to enable HTML in term category, tag descrittions:

    foreach ( array( 'pre_term_description' ) as $filter ) {
        remove_filter( $filter, 'wp_filter_kses' );
    }
     
    foreach ( array( 'term_description' ) as $filter ) {
        remove_filter( $filter, 'wp_kses_data' );
    }

    Maybe we could use something similar with PWB?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor titodevera

    (@titodevera)

    Hi Filipe.

    pwb-all-brands shortcode has an attribute for control the brands per page: per_page="20", but there is no option for control the number of columns, i think you can adapt it applying some css rules

    As you can read in the related topic you mentioned, WordPress does not allow HTML in taxonomy descriptions by default. I recommends you use Visual Term Description Editor. You should be able to add <i class="fa fa-globe" aria-hidden="true"></i> markup without any problem.

    In the next release, PWB will adds advanced html editor for brand descriptions by default (without using Visual Term Description).

    ??

    Thread Starter Filipe Costa

    (@filipecostacom)

    Hi! Thanks for helping!

    I was already using which i think is similar: TinyMCE advanced.

    But the issue was that i was using bad coding to the Font Awesome. I was trying to link icons only without text, and when moving between visual and HTML the code was striped. If i saved it when in HTML it would work fine ??

    So i added text to Font Awesome icon and its working now.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customize number of brands and HTML on brand page’ is closed to new replies.