WordPress.org

Ready to get started?Download WordPress

Forums

How do I display tags in 2 columns? (6 posts)

  1. charles_i
    Member
    Posted 1 year ago #

    Can't believe I can't find this anywhere. I need to display the default sidebar tags in 2 columns with a vertical line between them. That means I can't use a shortcode - I'm not adding anything to a page or post. I just need to format the sidebar tags widget into 2 columns.

    Charles

  2. Jess
    Member
    Posted 1 year ago #

    URL? What theme are you using?

    Try looking at the code for your sidebar widget with Firebug or a similar tool and adjusting the CSS.

  3. alchymyth
    Forum Moderator
    Posted 1 year ago #

    consider using a plugin http://wordpress.org/extend/plugins/search.php?q=multi+column+tags

    otherwise you would need to write a filter function for 'wp_tag_cloud'.

  4. charles_i
    Member
    Posted 1 year ago #

    Problem with all those plugins is they create columns in full pages or posts - not in the sidebar. Check out the "Tags" in the sidebar here

    http://staging.thelocalscoop.org/

    I'm actually using the Taxonomy List Widget for that list, but there should be a way to put any of those lists into columns, whether it's Recent Posts, Archives, or Categories as well.

    I can't see how you could do this in CSS because these are generated by a loop, correct? I would think it needs something like, for the length of the array, divide in half, and then style it into columns. Somebody should write a plugin to do that. I would, but I don't know how :-)

  5. alchymyth
    Forum Moderator
    Posted 1 year ago #

    but there should be a way to put any of those lists into columns,

    not really, if the widget's original coding is not made for columns.

    you could try and post in the support section of your used plugin, to see if the plugin's author responds to the suggestion.

  6. Jess
    Member
    Posted 1 year ago #

    You could also just use CSS and style an unordered list to display in two columns.

Topic Closed

This topic has been closed to new replies.

About this Topic