WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. charles_i
    Member
    Posted 1 year 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?

    Charles

    http://wordpress.org/extend/plugins/multi-column-taxonomy-list/

  2. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 1 year ago #

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

  3. shetech
    Member
    Posted 11 months 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
    Member
    Posted 8 months 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
    Member
    Posted 8 months 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 {
        width:50%;
    }

    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
    Member
    Posted 8 months 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
    Member
    Posted 8 months 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
    Member
    Posted 8 months 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

About this Topic

Tags