Gallery_Shortcode, output only one image
-
I’m building a tumblelog sort of theme and I attach only one image to each image post. I’d like to show that single <img /> in medium surrounded by an anchor linking to the full image.
Doing something like:
http://pastebin.com/f4ded7435
outputs too much unnecessary code (<div>, <dt>, <dl>, and an extra <style>).I just want something like:
http://pastebin.com/f6c9760f4
Any ideas?[Sorry for the pastebin links, I can’t get code quoting to be behave on the WP forums.]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘Gallery_Shortcode, output only one image’ is closed to new replies.