ThemeShaper Forums » Thematic

[closed]

Galleries without plugins

(2 posts)
  • Started 2 years ago by lastraw
  • Latest reply from helgatheviking
  • This topic is not a support question
  1. This helps explain how to format galleries in WP without plugins
    http://ottopress.com/2011/photo-gallery-primer/

    Posted 2 years ago #
  2. i've been trying to write a new shortcode for galleries. i'm failing pretty miserably so far.

    i wanted something like:

    [my_gallery columns=3]
    <img src="img1.png">
    <img src="img1.png">
    <img src="img1.png">
    [/my_gallery]

    b/c i really hate the idea that galleries either display ALL the attached images, or you have to manually go into the shortcode and exclude the ones you don't want... which could be a lot depending on your post. and you have to do it by attachment ID. who knows THOSE off the top of their head?

    but i am having a hard time parsing the different images, keep getting all kinds of extra nasty markup.

    Posted 2 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.