How to Create WordPress Image Gallery with Custom Unique Link to Each Image?

Key Takeaways

  • Nexter Blocks' Media Listing block allows users to add custom links to each image in a WordPress photo gallery.
  • Users must select 'No' from the Popup Layout dropdown to ensure proper layout when using the Media Listing block.
  • The Links option for adding URLs is only available when using the Repeater in the Content tab of the Media Listing block.
Table of Contents

Looking to enhance your WordPress image gallery with custom links? Adding custom links to each image in your gallery can provide a seamless way to direct visitors to specific pages, products, or external resources.

With the Media Listing block from the Nexter Blocks, you can easily add a custom link to each image of a WordPress photo gallery.

To check the complete feature overview documentation of the Nexter Blocks Media Listing block, click here.

Requirement  – This block is a part of the Nexter Blocks, make sure its installed & activated to enjoy all its powers.

To do this, add the Media Listing block on the page, 

1. Select Images from the Type section.

2. Then select the appropriate listing style and layout from the Layout tab.

Make sure to select No from the Popup Layout dropdown. 

3. Go to the Content tab and choose Repeater from the Select Option section.

Ensure to add URLs in the Links field while adding content in each repeater item.

Note: The Links option is only available for Repeater.

Now to make the entire image clickable, 

4. Go to the Extra Options tab and turn on the Box Link toggle, 

5. Then turn on the Force Custom URL toggle to enable the custom link.

media listing layout repeater link box link new

Note: Similarly, you can add custom links to videos of a video gallery by selecting Videos from the Type section.

Also, read How to Create WordPress Image Gallery with Category Filter.

About the Author

Photo of Aditya Sharma CMO of NexterWP
CMO at POSIMYTH Innovations · NexterWP · 7 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordpressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

What should I do if the custom links are not working in my WordPress image gallery?

If the custom links are not functioning, ensure that you have enabled the 'Force Custom URL' toggle in the Extra Options tab. This setting is crucial for making the entire image clickable with the custom link. Additionally, verify that you have entered the URLs correctly in the Links field while adding content in each repeater item.

What is the best layout option for displaying images with custom links in my gallery?

Choosing the appropriate listing style and layout from the Layout tab is essential for showcasing your images effectively. Consider the visual flow and how users will interact with the gallery. A well-chosen layout can significantly impact user experience and engagement with your content.

What happens if I forget to select 'No' from the Popup Layout dropdown?

If you do not select 'No' from the Popup Layout dropdown, the images may open in a popup instead of directing users to the custom links you set. This can disrupt the intended navigation experience, so it's important to ensure this setting is configured correctly.

How can I create a gallery with category filters in addition to custom links?

To create a gallery with category filters, you can refer to the tutorial on How to Create WordPress Image Gallery with Category Filter. This approach allows you to enhance user navigation by enabling visitors to filter images based on categories while still utilizing custom links.

Last reviewed: April 15, 2026

Related Docs