• Hi! Thanks for the plugin, it’s working great so far.

    One thing I noticed while using it is that the CSS class is always “dog,” regardless of what type of animal it is. This isn’t a problem most of the time, but I’m writing a jQuery filter against the results, and it’d be great to select individual entries by animal type.

    I’ve actually already implemented this on the site I’m working on, and it’s pretty easy; you just add $dog->animal to the CSS classes alongside “dog” (so you still get the styling). Animal comes back from PetFinder capitalized, and CSS is case sensitive, so it shouldn’t clash.

    I wanted to report this back in case you think it’s useful enough for everyone to use. Thanks, and keep up the good work! ??

    https://www.ads-software.com/extend/plugins/petfinder-listings/

Viewing 1 replies (of 1 total)
  • Plugin Author bridgetwes

    (@bridgetwes)

    Hi,

    Good suggestion and thanks for the code snippet. I added this to my master file and will include it with my next update.

Viewing 1 replies (of 1 total)
  • The topic ‘Suggestion: CSS Classes by Animal’ is closed to new replies.