@Charlie_Horse or @KetanKumar would you be able to help?
Topic summary
Core Issue:
Users are attempting to create a dropdown menu that filters blog posts by tags, but the filter fails to redirect to the selected tag URL. Instead of navigating to the specific tagged page (e.g., /tagged/backtalk), it redirects incorrectly or not at all.
Technical Problem:
The original jQuery-based code doesn’t properly capture and redirect to the selected tag’s URL. Multiple users report the same redirection failure despite the dropdown displaying correct URLs in the browser inspector.
Proposed Solutions:
- EMS_Co provided alternative code using a simpler approach with
<select id="BlogTagFilter">and basic JavaScript for URL redirection - urbansoul identified that jQuery may not be loaded in newer themes (like Dawn), suggesting removing the jQuery dependency entirely and using vanilla JavaScript instead
- Choong_HueApps mentioned creating a dedicated Shopify app for this functionality (14-day free trial available)
Current Status:
The discussion remains unresolved for most participants. Several users confirmed the redirection issue persists even with suggested code modifications. No definitive working solution has been verified by the original poster or subsequent users experiencing the same problem.