Forums

Jetpack by WordPress.com
[resolved] Tiled Galleries Columns Param not Working (2 posts)

  1. ameraz
    Member
    Posted 3 months ago #

    I've been trying to use the new gallery feature, pretty damn cool! ... but the column param never seems to work, it doesn't matter what type or how many columns are defined, it always shows 3 columns.

    [gallery columns="5"]
    [gallery type="rectangular" columns="6"]
    [gallery type="square" columns="7"]
    [gallery type="circle" columns="8"]

    Any help would be verymuch apreciated.

    http://wordpress.org/extend/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 3 months ago #

    Tiled Galleries are built based on your theme's content width, so you're not able to control the number of columns as you would with standard galleries.

    You can define a specific $content_width value by adding the following code to your theme's functions.php file:

    if ( ! isset( $content_width ) )
    $content_width = 800;

Reply

You must log in to post.

About this Plugin

About this Topic