Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

I am creating a photo gallery but need to have each image point to a custom URL. Any recommendations?

When using the media gallery to create the gallery, the only options I'm given is to link to an attachment page, media file, or none. Is there a workaround for this or a plugin that gives me that capability?

Not sure if this is relevant, but I'm using the Twenty Twelve 1.0 theme.

1 Answer

Hello Julieta,

The easiest way to achieve this would be to use this plugin:

WP Gallery Custom Links

This will allow you to "Specify custom links for WordPress gallery images (instead of attachment or file only)."

Let me know if this worked for you!

Josiah

Thank you! Exactly what I needed.