Support » Plugin: Advanced Custom Fields: Font Awesome Field » Search is filtered more than FontAwesome

  • When I go to FontAwesome, I normally type in “email” to get the email icon – no problem.
    When I installed, I got no results for email…
    On further inspection, the icon is “envelope” which works.
    I assume that FontAwesome just provides a more advanced search?

Viewing 1 replies (of 1 total)
  • Plugin Author Matt Keys

    (@mattkeys)

    Yes you are right that FontAwesome just has a more advanced search that I implemented in this plugin. FontAwesome maintains a database of search terms along with other icon info like this:

    accessible-icon:
      changes:
        - 5.0.0
      label: Accessible Icon
      search:
        terms:
          - accessibility
          - wheelchair
          - handicap
          - person
          - wheelchair-alt
      styles:
        - brands
      unicode: f368

    The plugin is just doing a simple search based on the actual icon name. This would be a nice to have in the future but will require some significant work to get something working that isn’t also a performance hog.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.