Template to display listing Categories and sub categories

WordPress Business Themes Forums Responsive Themes Directory Theme Template to display listing Categories and sub categories

Template to display listing Categories and sub categories

July 15, 2013
Kiran Kiran
  • Kiran
    Kiran
    Elite Member 434 points

    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

    July 15, 2013 at 8:21 pm
  • Richard Bonk
    Richard Bonk
    Super Guru 2,739 points

    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).

    July 15, 2013 at 8:44 pm
  • Kiran
    Kiran
    Elite Member 434 points

    there is no taxonomies template in responsive theme

    July 16, 2013 at 2:02 am
  • Mark Fail
    Mark Fail
    Super Guru 12,521 points

    create a normal wordpress page and copy/paste the code below;

    [TAXONOMY name=’listing’]

    July 16, 2013 at 2:09 am
  • Aaron
    Aaron
    Super Guru 916 points

    How awesome is that, thanks Mark.

    July 16, 2013 at 2:11 am
  • Mark Fail
    Mark Fail
    Super Guru 12,521 points

    also for the count to display

    [TAXONOMY name=’listing’ count=true icon=true]

    July 16, 2013 at 2:14 am
  • Mark Fail
    Mark Fail
    Super Guru 12,521 points

    Aaron :)

    There are a few shortcodes in the new one, will add more shortly also.

    July 16, 2013 at 2:15 am
  • Mark Fail
    Mark Fail
    Super Guru 12,521 points

    also try;

    [CATEGORIES]

    that will be easier

    July 16, 2013 at 2:16 am
  • Kiran
    Kiran
    Elite Member 434 points

    Thanks mark,

    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)

    July 16, 2013 at 2:25 am
  • Kiran
    Kiran
    Elite Member 434 points

    [CATEGORIES] with this i am able to see the desired result without count

    July 16, 2013 at 2:28 am
  • Mark Fail
    Mark Fail
    Super Guru 12,521 points

    :)

    July 16, 2013 at 3:31 am
  • Mark Fail
    Mark Fail
    Super Guru 12,521 points

    there is no count for sub cats as the WP query for pad_count (top count only)

    July 16, 2013 at 3:32 am
Viewing 12 posts - 1 through 12 (of 12 total)

Didn't find what you were after?

Chat with us now

or contact our support team