There would be three types of search: Live searching in a JIG gallery much like filtering (with JavaScript). This is not yet possible. Creating galleries based on pre-defined search terms that you set up in the shortcode. This is possible with NextGEN search or Flickr search. This lets you create galleries based on a search. Connecting a user's search query...
...attributes $atts to enable identifying a single grid. Grids based on custom post meta key/value add_filter('jig_recent_posts_query_args', 'change_jig_recent_posts_query', 10, 2); function change_jig_recent_posts_query($args, $atts) { if ($atts['gallery'] === "1234") { $args['meta_query'][] = [ 'key' => 'your_custom_field_name', 'value' => 'field_value' ]; } return $args; } Let's narrow down to only a JIG with a gallery ID. This assumes you created a grid already...
...to allow your visitors to search your photos. Enhance your normal WordPress search results with NextGEN images by using a Justified Image Grid template tag. It requires a small modification to your theme to connect the search query to the NextGEN search feature. Learn more about this in the FAQ: Show search results with Justified Image Grid? What does NextGEN...
...{ if ($atts['gallery'] === '1234') { $args['meta_key'] = '_custom_meta_name'; $args['meta_value'] = 'something'; } return $args; } Let's narrow down to only a JIG with a gallery ID. This assumes you created a grid already in JIG -> Create New Grid, and have an ID at hand. This is used so the code won't affect any grid, just the one you...
...lightbox groups that you can observe in this example. This is a unique feature of Justified Image Grid and cannot be achieved with native WordPress in any other way. Normally you'd need to use another source. Show the shortcode The above example uses the following, generated shortcode (how to use): Why show Real Media Library galleries with Justified Image Grid?...
Justified Image Grid is sold exclusively on CodeCanyon. It's a competitive digital marketplace thus plugin prices are low and set by Envato - not us. This means higher traffic for developers and lower prices for buyers. The license terms are also set by Envato. By purchasing and using the product you agree to their terms. A unique purchase code is...
Instead of directly containing images, NextGEN albums hold galleries or other albums. Show them with Justified Image Grid but continue to use NextGEN's interface to manage them and their contents. Below you can observe JIG vs. native NextGEN and compare their looks and how they work. Note the very useful breadcrumbs - the small navigation above the grid - which...
...like this by searching for .prettyPhoto( in your theme's custom.js or main.js or similar file. The solution is to add .not('.justified-image-grid a') right before it adds the single-mode link rel, like this: $('.post-content a, .main .featured a').has('img').not('.justified-image-grid a') .filter(filter_images).attr('rel', 'prettyPhoto'); Or add the justified-image-grid class to the "group classes", like: $('.justified-image-grid, .gallery-slider, .post-content .gallery, .post-content .tiled-gallery').each(function() { // ... });...
...it does a perfect job at displaying images, even on desktops. Justified Image Grid uses PhotoSwipe as the default mobile lightbox. How does PhotoSwipe look like? Click on a photo below to see it in action! Show the shortcode The above example uses the following, generated shortcode (how to use): Special usage This example shows the use of HTML text...
The most-used custom post types are probably WooCommerce products and various theme portfolios. They are similar to normal blog posts. They usually have a featured image and that's all it takes for Justified Image Grid to load the custom post types. Even if you don't have an image on all of them you can still use a placeholder image in...