JetEngine Listing Grid: Disable Links from Certain Items

March 26, 2025

In this tutorial, I’ll show you two ways to disable links when using the JetEngine listing grid. Whether you want to prevent users from clicking on specific items or remove links entirely, these methods will give you full control over your listing grid. I’ll walk you through each approach step by step, so you can choose the best option for your needs.

Get Elementor Pro
Get JetEngine

Timestamps:

  • 0:00 Introduction / Demo
  • 0:33 Option 1: Dynamic Visibility
  • 8:19 Option 2: Custom JavaScript

JavaScript Code

				
					<script>
  document.addEventListener("DOMContentLoaded", function() {
      document.querySelectorAll("a[data-disable-link='true']").forEach(function(linkElement) {
          linkElement.removeAttribute("href"); // Remove the link if data-disable-link="true"
      });
  });
</script>
				
			

*Some of the links on this page are affiliate links, meaning we may receive a commission if you follow them. This allows us to continue providing free content and educational resources for you. Thank you for supporting our small business!

Share this post:

Facebook
Reddit
Twitter
Pinterest
LinkedIn
Email

Sign-up for our Newsletter

Receive members-only discounts to our shop, notifications about live events, tips, tricks, news, and more! Sign up is FREE. Join today!

More Free Resources