Hello,
I have a similar issue with your plugin and breadcrumbs on the frontend of the single product page (woocommerce). This is affecting showing the child categories if both parent and child category are checked in the admin product page.
To reproduce the problem:
In the admin, in the product list, in the category column, my customer wants to have the parent and child category showing. For this to happen, I need to have checked both parent and child categories of the products.
In the frontend, in the breadcrumbs we expect to have:
– Products > Parent cat > child cat > Product name
We get:
– Products > Parent cat > Product name
Of course in the admin, the orders of the categories have been change to reflect the customer needs and not the order in witch these have been created (most recent).
I tested with deactivation of the plugin and this resolve the frontend issue.
Also one exception, in one case, I could observe, the parent and child are showing in the frontend with your plugin activated.
Here is the DB order of terms if this can help find a solution:
Parent term_order = 1
First child term_order = 0 (child not showing)
Second child term_order = 1 (child not showing)
Thrid child term_order = 3 (child showing normally)
Fourth child term_order = 4 (child not showing)
Fifth child term_order = 5 (child not showing)
As a temporary solution, I have deactivated the plugin. This does not seem to change the orders in witch categoies have been sorted with the plugin. But as soon as new categories will be added and sorted, I think it will need to be reactivated so we can sort again.