Title: column-count
Last modified: December 15, 2016

---

# column-count

 *  Resolved [ciaramcmichael](https://wordpress.org/support/users/ciaramcmichael/)
 * (@ciaramcmichael)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/column-count-2/)
 * Hello and thank you, great plugin. Just trying to get the column count working.
   I’ve got the correct syntax in the shortcode: [a-z-listing post-type=artist column-
   count=3]. I’ve also copied the a-z-listing.php example file to my theme (studioPress
   Atmosphere Pro – running on Genesis) but getting no results. Any help would be
   greatly appreciated!

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

 *  Plugin Author [Dani Llewellyn](https://wordpress.org/support/users/diddledani/)
 * (@diddledani)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/column-count-2/#post-8558211)
 * Hi,
 * To get multiple columns the process changed from when the shortcode included 
   the column-count argument. I think I must have not documented the fact, sorry:-(.
   The solution is:
 * Copy the file templates/a-z-listing-multi-column.php to your theme at wp-content/
   themes/your-theme-name/a-z-listing.php as you said you have done. Open the file
   and note the two lines at the top which specify the number of columns (`$_a_z_listing_colcount`)
   and the minimum number of items to include in each column before overflowing 
   to the next when you don’t have many posts (`$_a_z_listing_minpercol`). You can
   modify the numbers assigned to either of those as you desire.
 * Getting no results might be a symptom of an incorrect post-type slug, or you 
   have no posts in the post-type you specified. Could you first try removing the
   column-count=3 parameter to see if that is causing an incompatibility (it isn’t
   doing anything anyway, as I mentioned I changed the way it works but forgot to
   document that). If there is still no output, but the letters at the top of the
   page are present then it is possible that the post-type is incorrect or there
   are no posts in that post type. If there is no output at all then something more
   obscure is afoot. If you are getting absolutely nothing at all, even the shell
   of your theme like the site title and footer, known as a [White Screen Of Death](https://codex.wordpress.org/Common_WordPress_Errors#The_White_Screen_of_Death),
   then there may be some clues in your server’s error log file.
 *  Thread Starter [ciaramcmichael](https://wordpress.org/support/users/ciaramcmichael/)
 * (@ciaramcmichael)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/column-count-2/#post-8559903)
 * Daniel, thank you so much for the prompt reply. I’ll try this now.
 *  Thread Starter [ciaramcmichael](https://wordpress.org/support/users/ciaramcmichael/)
 * (@ciaramcmichael)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/column-count-2/#post-8560391)
 * Hi Daniel, Thanks again, I’ve got this working I think – it’s outputting multiple
   divs and columns but they don’t seem to be floated/styles. So I *think* the css
   for this is missing… Or perhaps something in my own stylesheet is overriding 
   it. I’ll figure out!
 *  Plugin Author [Dani Llewellyn](https://wordpress.org/support/users/diddledani/)
 * (@diddledani)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/column-count-2/#post-8589287)
 * You might be running an older version of the plugin that did not output the styes
   by default. Check that you’re running the latest version to eliminate that as
   a cause for lack of styling.
 *  Plugin Author [Dani Llewellyn](https://wordpress.org/support/users/diddledani/)
 * (@diddledani)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/column-count-2/#post-8671225)
 * I’m tentatively setting this thread as resolved. If this is incorrect, please
   comment and I’ll return to help you as best I can 🙂
 *  [pocquet](https://wordpress.org/support/users/pocquet/)
 * (@pocquet)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/column-count-2/#post-8812749)
 * Hello Daniel,
    I uploaded version 1.4.1 of A-Z listing, I copied the multi-columns
   example in the template and named it a-z-listing.php, but multi-columns do not
   work. The div are correctly generated according to the parameters in a-z-listing.
   php but there is no float visualization. Could you help me, please ? I thank 
   you in advance, Anne-Marie
 *  Plugin Author [Dani Llewellyn](https://wordpress.org/support/users/diddledani/)
 * (@diddledani)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/column-count-2/#post-8812799)
 * Hi Anne-Marie,
 * I’ve not tested the multiple columns layout as much as the rest of the plugin,
   so I might have neglected to get the styling correct when I changed some CSS 
   code recently. I’m just looking now and will report back – I think I will probably
   need to cut a new release with any fixes for you to upgrade to.
 *  Plugin Author [Dani Llewellyn](https://wordpress.org/support/users/diddledani/)
 * (@diddledani)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/column-count-2/#post-8813070)
 * ok, I did need to roll a new version, so you should be able to upgrade to 1.5.0
   shortly when it becomes available. This version will fix the styling – there 
   were two issues:
    1. Styling not loading at all when shortcode used
    2. Styling not correctly laying out the multiple columns
 *  [pocquet](https://wordpress.org/support/users/pocquet/)
 * (@pocquet)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/column-count-2/#post-8813460)
 * Daniel, thanks a lot for your prompt reply, I appreciate. So, I will wait for
   your new version, no problem :O) Anyway, your plugin is exactly what I needed,
   and I thank you for that.
    Best wishes, Anne-Marie
 *  [pocquet](https://wordpress.org/support/users/pocquet/)
 * (@pocquet)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/column-count-2/#post-8815845)
 * Hello Daniel,
 * I solved multi-column problem by the following :
    1. Updated a-z-listing . php
   by adding a class to `<div>`
 *     ```
       <?php if ( 0 === $i++ ) : ?>
       <div class="az-box">
       <ul>
       <?php endif; ?>
       ```
   
 * 2. I added the css features in a custom css to avoid changing the original :
   `/*
   Index */ .az-box { float:left; width: 40%; } ‘ I am not sure of 40%, I made some
   tests, it seems OK.
 * BUT, testing this, I notice that only the pages are listed in the index, not 
   the posts. The shortcode I used is [a-z-listing]
    Did I miss a parameter to make
   posts displayed also in the index ? Could you help me , please ? Thanks in advance,
   Anne-Marie
 *  Plugin Author [Dani Llewellyn](https://wordpress.org/support/users/diddledani/)
 * (@diddledani)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/column-count-2/#post-8820014)
 * Hi Anne-Marie,
 * Regarding 1, the extra divs should be handled automatically when you have the
   a-z-listing-multi-column.php copied into your theme as a-z-listing.php.
 * 2. Also, the styling should be automatically handled to make those extra divs
   be side-by-side.
 * To get both posts and pages on the same listing you need to amend your shortcode
   tag to:
 * `[a-z-listing post-type="post,page"]`
 * note that you’ll need to update, again, to version 1.5.1 (I found that the multiple
   post-type support didn’t work as it should so I’ve just uploaded a fix for it).
 *  [pocquet](https://wordpress.org/support/users/pocquet/)
 * (@pocquet)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/column-count-2/#post-8829852)
 * Hello Daniel,
    Thanks for your reply. 1. Concerning multi-columns : I uploaded
   again version 1.5.1, and copied the multi-columns example in the template and
   named it “a-z-listing.php”, but multi-columns still does not work. I found that
   this problem comes from css property .letter-section { display: flex;
 * If I invalidate this property and add a class to div as I explained in a previous
   post, multi-column works fine. I took screenshots for you, but I find nowhere
   here to attach them.
 * 2. Concerning both posts and categories display, thanks for the short code, I
   was mistaken by the term ‘slug’ in your documentation, I had not understood :
   O)

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

The topic ‘column-count’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/a-z-listing_d8edfd.svg)
 * [A-Z Listing](https://wordpress.org/plugins/a-z-listing/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/a-z-listing/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/a-z-listing/)
 * [Active Topics](https://wordpress.org/support/plugin/a-z-listing/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/a-z-listing/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/a-z-listing/reviews/)

## Tags

 * [a-z](https://wordpress.org/support/topic-tag/a-z/)
 * [index](https://wordpress.org/support/topic-tag/index/)

 * 12 replies
 * 3 participants
 * Last reply from: [pocquet](https://wordpress.org/support/users/pocquet/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/column-count-2/#post-8829852)
 * Status: resolved