Multi-Column Taxonomy List
[resolved] How do I display 2 columns? (8 posts)

  1. charles_i
    Posted 2 years ago #

    I want to simply sort Tags in the sidebar into 2 columns. I've added <?php multi_column_tax_list(); ?> to the sidebar, but how do I alter the CSS to display 2 equal columns?



  2. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 2 years ago #

    You can change the number of columns by adding the columns attribute. See Usage here.

  3. shetech
    Posted 2 years ago #

    This is helpful, but I notice (as some other users have as well) that the relative width of the columns doesn't respond to the number of columns (i.e. 50% instead of 33%). Is there a way to set the width of the visible columns?

  4. Reiner1957
    Posted 1 year ago #

    Has this problem been solved: The relative width of the columns does not respond to the number of columns? The "newest" post is 3 months old... ...and no answer yet?!

  5. charles_i
    Posted 1 year ago #

    I had to look up how I did this because it was so long ago. Because it was in the sidebar I couldn't use the columns attribute so I believe I found a CSS answer somewhere else and just did it in CSS like this:

    .widget widget_archive li {

    And to answer the other question, I put a div around the entire sidebar and specified the width as width:225px in the CSS to maintain the 50%. Here's my sidebar.php:

    <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
       <div class="rightcolumn">
         <?php dynamic_sidebar( 'sidebar-1' ); ?>
       </div><!-- #rightcolumn -->
    <?php endif; ?>

    If that works for you we should consider this resolved.

  6. shetech
    Posted 1 year ago #

    That is more of a hack than a resolution. My belief is that the plugin itself should accommodate multiple columns and relative widths. I don't consider this resolved.

  7. charles_i
    Posted 1 year ago #

    I agree but the problem is you can't put shortcode into a widget (that I know of) so I had no other way to do it.

  8. charles_i
    Posted 1 year ago #

    What this plugin needs is a Settings panel that will set options for a Widget.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multi-Column Taxonomy List
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic