WordPress.org

Support

Support » How-To and Troubleshooting » Gallery Feature — Changing # of Image Columns

Gallery Feature — Changing # of Image Columns

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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

    Michiel

    @michiel

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gallery Feature — Changing # of Image Columns’ is closed to new replies.
Skip to toolbar