• Skip to main content
  • Skip to primary sidebar

WordPress, Genesis Framework and Storefront customization tutorials

  • Archive
    • Free
    • Premium
  • Blog
  • About
  • Contact
  • Newsletter
  • Membership
  • Login
Home » Isotope Gallery from WordPress Featured Images

Isotope Gallery from WordPress Featured Images

isotope-gallery
View DemoYoutube Video

In this project I created a WordPress gallery from Custom Post Type’s featured images using Isotope filter combined with lightGallery.

With Isotope You can filter items like portfolio, gallery images or any kind of HTML elements.

lightGallery displays images in Lightbox in a very fancy way with captions and paginations. During WordPress development, I strive to use as few plugins as possible. So I implemented these features directly in my child theme. I prefer Genesis Framework, but it can be used in any WordPress Theme.

Step #1 - Create a Custom Post Type

Create a Custom Post Type called Gallery and upload some images from Pixabay. 



Step #2 - Upload Images

You can upload your own images, but if You want to use that pictures that I used, click here to download the demo file.

Every post has a featured image we’re going to sort them by category and display the title dynamically in the gallery.

Step #3 - Build the filter

To Loop through the categories and echo out as buttons create a file named templates/filter.php and paste the following code in it:

To view the full content, please sign up for the membership.

If You are already a member, please log in below:

 
 
Forgot Password

Related Projects

You may also be interested in the following projects

Isotope filter in WordPress with Multiple Dropdown

Isotope Filter with Multiple Dropdown for WordPress Categories

Isotope Featured Premium
Isotope filter in WordPress with Single Dropdown

Isotope Filter with Single Dropdown for WordPress Categories

Isotope Featured Premium
Isotope filter in WordPress with Buttons

Isotope Filter in Genesis with Buttons for WordPress Categories

Isotope Featured Premium
Isotope Filter with Search Field

Isotope Filter with Search Field for WordPress Categories

Isotope Featured Premium

Filed Under: Featured, Premium Tagged With: Isotope

About Gabor Flamich

I'm a web developer and designer based in Budapest, Hungary. In recent years, I've documented hundreds of solutions I came across during development. This site is an archive for useful code snippets on WordPress, Genesis Framework and WooCommerce. If You have any questions related to WordPress development, get in touch!

Primary Sidebar

Gabor Flamich

Hi! I'm Gabor.
I write tutorials on WordPress and WooCommerce.

MacBook

12 Essential Snippets for Genesis Developers

Subscribe to my Newsletter to view my basic collection of Genesis snippets that I use for my projects!

Sign Up for Free
  • Facebook
  • GitHub
  • Instagram
  • LinkedIn
  • Twitter
  • YouTube
UpdraftPlus Premium

Tags

ACF Ajax Analytics API Bootstrap Breadcrumb category CPT CSS fetch Genesis Google Maps Gutenberg HTML Isotope JavaScript jQuery loop Map Menu Parallax PHP SASS SEO SQL Storefront SVG tab tag manager tags Taxonomy Tool upsell Webpack Wholesale WooCommerce WordPress WPML

Disclosure: Some of the links in this site are affiliate links. I will be paid a commission if you use this link to make a purchase.

  • Privacy Policy / Terms of Service
© 2023 WP Flames - All Right Reserved