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

    (@titodevera)

    Hi Aprowler!

    You can use the pwb_widget_brand_filter filter hook to alter the order as your needs:

    
    add_filter( 'pwb_widget_brand_filter', function( $brands ){
      //your custom ordering algorithm here
      return $brands;//array of WP_Term objects
    } );
    

    ??

    Thread Starter Aprowler

    (@aprowler)

    very thanks i will look it

    Thread Starter Aprowler

    (@aprowler)

    hi the best way to use brand slug to order, which i can use

    1-c-brand
    2-b-brand
    3-a-brand

    with this name of the brand will not need to change can you help about it?

    Plugin Contributor titodevera

    (@titodevera)

    Hi Aprowler

    Yes, you can configure your custom sorting algorithm based on slugs.

    ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Widget Brand Soring’ is closed to new replies.