• Hi,
    i would like to have only categories in a-z listing.
    I can’t find a short-code for that…

    then i would like to have columns for that listing but for me, your documentation is’nt clear to understand…i’m not a php pro.
    What i have done:
    i copied a-z-listing-multi-column.example.php to my avada theme to templates and to the root of my theme and renamed it to a-z-listing.php

    so what i have to do, if i want to show az-listing to a page? shortcode [a-z-listing post-type=”post”] shows only one column and all postings. But i want to show categories only and listed in “mulit-column.

    Thx
    Pete

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Dani Llewellyn

    (@diddledani)

    Hi,

    Do you mean, when you say you want categories only, that you want to display the terms from a taxonomy i.e. not posts, or do you want to filter and display some posts by a set of terms?

    Currently to display terms you need to use the PHP method, but I’ll work up a new version soon which allows you to do that via the short-code. The PHP method is as follows; in a theme template such as page-<page-id> (see the Template Hierarchy for help choosing the right template filename) replace “The Loop” with the following, where taxonomy-slug is the name of the taxonomy as used in web addresses (URLs):

    <?php
    the_a_z_listing( 'taxonomy-slug' );
    ?>

    To determine the problem with multiple columns, I might need to see your site so that I can investigate the styles that have been applied and how they are interacting with styles from your theme. Would it be OK for you to share your site’s address?

    Plugin Author Dani Llewellyn

    (@diddledani)

    I’ve just released version 1.7.0 which allows you to do this via the shortcode:

    [a-z-listing display="terms" taxonomy="taxonomy-slug"]

    For example, to show all your terms in the category taxonomy:

    [a-z-listing display="terms" taxonomy="category"]

    Or to show all your tags:

    [a-z-listing display="terms" taxonomy="post_tag"]

    Hy,

    I have a same problem. I have one mother catergory (slug: gyarto) and inside this category I have 76 subcategory. My problem: list only subcategory “names” from A to Z.

    No solution? If I’m using [a-z-listing taxonomy="category" display="terms"] and I’m see all categorys, but I’m don’t need all category I’m need only the subcategorys from one “mother” category.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘List categories only?’ is closed to new replies.