• Resolved kevrose

    (@kevrose)


    Hi

    I’ve read through all the documentation and support posts, but still can’t solve my issue. I’m using version 1.6.2 of the plugin.

    The shortcode is on this page https://www.leonietests.eu/ETFs/ and I only want to display its child pages (they all are four letters long; e.g. AGAP, AGCP) and not other pages (e.g. About).

    I’ve followed the instructions but still can’t get it not just display all pages.

    Similarly, I have copied the .php file to the theme directory. It currently begins:

    <?php
    $_a_z_listing_colcount = 2;
    $_a_z_listing_minpercol = 5;
    ?>

    But, as you can see, it is only being displayed as a single column. Any thoughts?

    Many thanks

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

    (@diddledani)

    With regards to the multi-column mode, I’ve just pushed version 1.6.3 which includes a minor styling change to fix it. You might want to copy the newer example template (wp-content/plugins/a-z-listing/templates/a-z-listing-multi-column.example.php) and re-apply and customisations because there is a supporting style inside that file which is new in this version.

    For child pages, the way it is built currently is that the children and the a-z page need to all share a common parent. i.e. the a-z listing does not limit to its _own_ children.

    Your layout needs to be:

    common-parent
      - child1
      - child2
        - child-of-child2
      - child3
      - a-z page

    You can see that the a-z page is on the same level as the pages you want to display, and not their parent. This only works when the a-z page is a child page itself. If the a-z page is a top-level page (sibling to “home”) then it will display _all_ pages on the site.

    The concept is that by including the a-z page underneath a top-level page the a-z page is for the “section” where it displays all children of the top-level page.

    (I think I’m making this sound more complicated the more I try to simplify it :-/)

    Plugin Author Dani Llewellyn

    (@diddledani)

    I’ve marked this as resolved, but please come back if you want or need further discourse or assistance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘All pages showing and column issue’ is closed to new replies.