WordPress.org

Ready to get started?Download WordPress

Forums

Gallery Feature -- Changing # of Image Columns (3 posts)

  1. wordpressnoob2009
    Member
    Posted 5 years ago #

    The best part of WP for me is the gallery feature. But I'd like to tweak it a bit, because I use big gallery thumbs. Instead of just 3 columns per row, is there to change it to 4 or even 5 columns per role?

    Thanks.

  2. 2nic
    Member
    Posted 5 years ago #

    check http://codex.wordpress.org/Using_the_gallery_shortcode

    Options

    The following basic options are supported:

    columns
    specify the number of columns. The gallery will include a break tag at the end of each row, and calculate the column width as appropriate. The default value is 3. If columns is set to 0, no row breaks will be included. For example, to display a 4 column gallery:

    [gallery columns="4"]

    but for my part, i can't have work

  3. Michiel
    Member
    Posted 5 years ago #

    Is there a plugin that would set the number of columns on a blog level? Currently it is per post and I'd like to manage it from one place. It keeps it flexible in case I change my theme layout.

Topic Closed

This topic has been closed to new replies.

About this Topic