Ask the community

This is a community support forum where you can ask
questions and interact with other PremiumPress Customers.

Template to display listing Categories and sub categories

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

    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

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

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

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

    there is no taxonomies template in responsive theme

  • Mark Fail
    Mark Fail
    Super Guru 12,819 points
    July 16, 2013 at 2:09 am

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

    [TAXONOMY name=’listing’]

  • Aaron
    Aaron
    Super Guru 922 points
    July 16, 2013 at 2:11 am

    How awesome is that, thanks Mark.

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

    also for the count to display

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

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

    Aaron :)

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

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

    also try;

    [CATEGORIES]

    that will be easier

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

    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)

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

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

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

    :)

  • Mark Fail
    Mark Fail
    Super Guru 12,819 points
    July 16, 2013 at 3:32 am

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

Viewing 12 posts - 1 through 12 (of 12 total)