Skip to content

Documentation

Extensive Documentation for PowerPack & WooPack to help you with common questions and issues.

PowerPack

⌘K
  1. Home
  2. Docs
  3. PowerPack
  4. Modules
  5. Content Grid
  6. How to remove links in Content Grid Module?

How to remove links in Content Grid Module?

Content Grid is a powerful module and we have seen varied uses of this module. Some users have used it as a Gallery, some have used it to showcase their portfolio, products, latest posts and more.

A common request is to remove links from the content. We are working on adding an option in module settings. For now, here’s a simple jQuery trick.

Please put the following code under Tools > Layout JS / CSS > JavaScript tab and click the Save button.

;(function($) {
  $('.pp-posts-wrapper a').each(function() {
     $(this).removeAttr( 'href' );
  });
})(jQuery);
×