Insert gallery with 4 images across using a child theme (1.6+)

When adding an image gallery to a post WordPress’ default is to have 3 images across. While you it’s possible to select 4 across when selecting options for the gallery or by changing the options in the gallery shortcode, it won”t display correctly. If you add the following code to an activated child theme, you can use 4 image across galleries (but be aware your old 3 across galleries will start to look off).

WPFolio version 1.6 includes a sample child theme for adding your own modifications. These modifications stay separate from WPFolio so you can update and keep your tweaks.

This entry was posted in News and tagged , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

4 Comments

  1. Posted June 13, 2011 at 7:01 pm | Permalink

    Hi there, I am using WPFOLIO 1.74, and it has been great…although I am having issues using/updating my photo gallery, I am using jQuery Lightbox For Native Galleries plugin. Basically when I try to put in the above code it doesn’t do anything? My 3 thumbnails stay as that, when I want 4 across…and I would also like to make the thumbnails larger…for this specific page.

    Thank you!

    Justin

    • Posted June 13, 2011 at 7:06 pm | Permalink

      First, read about when to use posts and when to use pages. You’re using pages where you should use posts.

      Then read about the gallery shortcode and how to change the number of columns.

      • Posted June 13, 2011 at 8:19 pm | Permalink

        Hey Steve,

        Thank you for the help. I will try and switch over to the pages vs posts you posted and look at that after. In the meantime I read up on the link on the gallery short code you posted. It seems that the gallery thumbnail size worked, changing the code. But the 4 across still doesn’t work — I tried to add the [ gallery columns="4" ] code and it still sticks at 3 colums…this is how it looks right now http://www.conception-studio.com/?page_id=46

        Thank you,

        Justin

        • Steve Lambert
          Posted June 13, 2011 at 8:21 pm | Permalink

          Try the wordpress support forums and tag your post wpfolio. I will keep an eye on it.

Post a Comment

Woah woah woah! Thinking about leaving a comment? If it starts anything like "How do you…" or "I can't figure out..." then head over to the WPFolio Support Article and read through it. Posting on WordPress Support is usually a better idea.

If you're going to post a comment, consider making a donation at the same time.

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

Are you signed up for     WPFolio email updates? »