Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Search for views-rows with the fan club taxonomy term, and add a custom class to those that match
- jQuery('li.views-row')
- .has('.views-field-field-blog-category a[href="/news/category/Fan-Club-News"]')
- .addClass('fan-club-row');
Add Comment
Please, Sign In to add comment