• Resolved Doeke Norg

    (@doekenorg)


    Hi,

    I’ve been using this plugin for one of my sites, and after the last updates I could use it on my custom post type “product”.

    It seems you’re checking this because of woocommerce.
    I’ve fixed it for myself by checking it like this:

    $is_woocommerce_product = ($post_type == 'product' && class_exists('Woocommerce'));

    and using that variable instead of “product” == $post_type.

    Can you “fix” this in the next release?

    https://ww.wp.xz.cn/plugins/wp-category-permalink/

Viewing 1 replies (of 1 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hello!

    Can I have your e-mail (or you can contact me at [email protected])? I would like to send you a revised version to see if it works for you. If it is, I will release it “officially” 🙂

    Thank you!

Viewing 1 replies (of 1 total)

The topic ‘[Fix] Conflict post_type product’ is closed to new replies.