Hi, I’ve two questions for you.
I’m referring to a page like this example:
https://www.8theme.com/demo/woopress/sidebar-boxed/portfolio/?col=4
—————
I’ve created these four my own Portofolio Categories:
Name: Very Important
Slug: 1-veryimportant
Name: More Important
Slug: 2-moreimportant
Name: Less Important
Slug: 3-lessimportant
Name: Not Important
Slug: 4-notimportant
—————
Your theme now shows the buttons in this way:
“Show All” – “Less Important” – “More Important” – “Not Important” – “Very Important”
But I would like to show them in this way:
“Show All” – “Very Important” – “More Important” – “Less Important” – “Not Important”
—————
In other words, now the theme shows the buttons (i.e. “.portfolio-filters li .btn” in the CSS) according to the alphabetical order of the names, but I would to show them according to the alphabetical order of the slugs.
1. First question:
What code I need to insert in the CSS (or elsewhere in my Child Theme) to obtain this result?
—————
2. Second question:
After every description inside the buttons, could I add a number between brackets in order to know how many elements are present for every category?
I.e. in order to obtain en effect like this example:
“Show All (41)” – “Very Important (12)” – “More Important (18)” – “Less Important (2)” – “Not Important (9)”
—————
Thanks for your help