Custom Sort Elementor's Taxonomy Filter
Add tax-order as the CSS ID (I forgot to mention that!!!)
CSS Code:
#tax-order .e-filter-item:hover {cursor: pointer;}
#tax-order .e-filter-item[data-filter="parent-a"] {order: 2;}
#tax-order .e-filter-item[data-filter="parent-b"] {order: 3;}
#tax-order .e-filter-item[data-filter="parent-c"] {order: 4;}
#tax-order .e-filter-item[data-filter="parent-d"] {order: 1;}
#tax-order .e-filter-item[data-filter="child-a1"] {order: 5;}
#tax-order .e-filter-item[data-filter="child-b1"] {order: 6;}
#tax-order .e-filter-item[data-filter="child-b2"] {order: 7;}
???? Grab our $1 Business Packs: https://learn.websquadron.co.uk/#packs
???? WordPress Hosting: https://be.elementor.com/visit/?bta=25741&nci=5486
???? The Pro Page Builder: https://be.elementor.com/visit/?bta=25741&nci=5383
Need 1-2-1 Support: https://learn.websquadron.co.uk/#support
Join our Facebook Group: https://www.facebook.com/groups/websquadron
Get Code Snippets Pro: https://r.freemius.com/10565/3304295/
Add tax-order as the CSS ID (I forgot to mention that!!!)
CSS Code:
#tax-order .e-filter-item:hover {cursor: pointer;}
#tax-order .e-filter-item[data-filter="parent-a"] {order: 2;}
#tax-order .e-filter-item[data-filter="parent-b"] {order: 3;}
#tax-order .e-filter-item[data-filter="parent-c"] {order: 4;}
#tax-order .e-filter-item[data-filter="parent-d"] {order: 1;}
#tax-order .e-filter-item[data-filter="child-a1"] {order: 5;}
#tax-order .e-filter-item[data-filter="child-b1"] {order: 6;}
#tax-order .e-filter-item[data-filter="child-b2"] {order: 7;}
???? Grab our $1 Business Packs: https://learn.websquadron.co.uk/#packs
???? WordPress Hosting: https://be.elementor.com/visit/?bta=25741&nci=5486
???? The Pro Page Builder: https://be.elementor.com/visit/?bta=25741&nci=5383
Need 1-2-1 Support: https://learn.websquadron.co.uk/#support
Join our Facebook Group: https://www.facebook.com/groups/websquadron
Get Code Snippets Pro: https://r.freemius.com/10565/3304295/
- Catégories
- E commerce Wordpress
- Mots-clés
- Imran Siddiq, WebSquadron, Wordpress
Commentaires