I would like to create an archive page for all the categories and subcategories with the count of no. of listings
Ex: Categorie(12) -Sub Categorie1(45) -Sub Categorie2(5) Categorie 2 (24) -Sub Categorie1(10) -Sub Categorie2(65)
How to achieve this for the listings in directory theme – for listings
Create a page with ‘Taxonomies’ template. Then visit that page and select ‘Categories’ from the drop down (the page will then be setup and will display the list of categories).
there is no taxonomies template in responsive theme
create a normal wordpress page and copy/paste the code below;
How awesome is that, thanks Mark.
also for the count to display
[TAXONOMY name=’listing’ count=true icon=true]
There are a few shortcodes in the new one, will add more shortly also.
that will be easier
no.of listing are not displayed shows as merchant categories and subcategories all are mixed with the above shortcode.
i want to achieve like this (A-Z listing)
A Categorie(12) -A Sub Categorie1(45) -B Sub Categorie2(5) B Categorie 2 (24) -Sub Categorie1(10) -Sub Categorie2(65)
[CATEGORIES] with this i am able to see the desired result without count
there is no count for sub cats as the WP query for pad_count (top count only)
Build your WordPress Business today with our WordPress Business themes.