• Resolved Mattw1000

    (@mattw1000)


    Hi Mat,

    Hope all is well. i have been using the code below to show Woo categories for the last few months, and all was well. But they have disappeared. could this be caused by the last update please?

    add_filter( ‘advanced_sidebar_menu_taxonomy’, ‘asm_use_woo_cats’ );
    function asm_use_woo_cats( $taxonomy ){
    return ‘product_cat’;
    }

    thanks
    Matt

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mat Lipe

    (@mat-lipe)

    Hello,

    This issue was reported earlier today and a fix has been released.
    Version 6.2.1 fixes the issue.

    The problem came from the latest version was smart enough to exclude empty categories so you don’t get links that go to empty archives. Unfortunately, it was too smart and excluded categories that users may be using as parents to form the hierarchy. This has now been patched.

    Thread Starter Mattw1000

    (@mattw1000)

    Fantastic, thanks Mat, worked a treat.

    out of interest, the other day i wanted to try and use your plug in to try and display post tags, in a side bar of the posts contained in a post category page.

    is that possible with code similar to the one i used for woo cats please?

    thanks
    Matt

    Plugin Author Mat Lipe

    (@mat-lipe)

    You can adjust your code to:

    add_filter( ‘advanced_sidebar_menu_taxonomy’, ‘asm_use_woo_cats’ );
    function asm_use_woo_cats( $taxonomy ){
    return 'post_tag';
    }

    Which should work on single posts or on tag archives. It will not work on post category pages because it doesn’t have a tag or single post to go by.

    Thread Starter Mattw1000

    (@mattw1000)

    Ahh yes sorry, this isn’t for my woo products or cats this time, its on my blog pages for my post tags.

    Will the code be different for that please?

    Plugin Author Mat Lipe

    (@mat-lipe)

    Code is the same.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Product Cats now gone’ is closed to new replies.