I have a portfolio grid (each portfolio page has one pic) with filter option ON. Click on Thumb opens Lightbox. Filter for categories is working.
But when i filter my grid, then in the lightbox (next/prev) there are still all the other items visible. This is a unexpected behavior. How can i change it that the lightbox shows the remaining pics only?
Hey,
I’m afraid that’s a expected behaviour, the lightbox script catches all items present in the grid, and when you filter something it doesn’t remove them from the page but hides them with CSS.
If you truly want the lightbox to only catch the current images you could replace the default filter with links (HTML list) to their actual archive pages (http://website.com/portfolio_entries/{category}
).
Regards,
Josue
1. Create a page with a portfolio grid on it for each category
2. Create a new menu using these category pages
3. Use the fullwidth sub menu content element at the top of each category page and your main portfolio page
This seems to be a tolerable workaround if you don’t have a lot of categories. (Make good use of layout templates.)
But I wonder if this causes too much duplicate content that might be a problem for search engines. Does anyone know if this would be an issue or not?
Hi,
The only duplicates i can think of would be the auto-generated archive pages and the manual archive pages but you can workaround that by using redirections.
Best regards,
Josue