font awesome select field help

Support General font awesome select field helpResolved

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17698

    Hi

    Is it possible to get select_advanced to load font awesome icons so that the icons are visible in the select field. Or is there a working plugin / extension for Metabox that allows this feature?

    I have spent two days hacking a javascript work around which i have partially working but run into issues when cloning etc. Therefore, I have decided to seek help! Surely someone has already done this? i know that redux framework has a premium extension for this. (I would be happy to pay for this also)

    In the js_options for the select_advanced field (select2) there is an option called 'templateResult' or 'templateSelection' which allows you to specify a js call back function to manipulate the option field html and display icons. However it does not seem to work 🙁

    #17710
    Anh TranAnh Tran
    Keymaster

    Hi,

    We don't have a field for icon picker yet. I think the best way to do that is creating a new field type. It gives you more flexibility to control the data you want. Using select_advanced might be limited.

    #17729

    Thankyou! I got something working and this is pretty much what I did. Created a new custom field, inherited the select_advanced class but pointed it at a slightly modified version of the select_advance javascript to do the font awesome manipulation. It was actually quite easy doing it this way =)

    #17730
    Anh TranAnh Tran
    Keymaster

    Awesome! Can you share it with us? I'll add it to our Resources page.

    #24623
    Fabian MossbergFabian Mossberg
    Participant

    I'm looking for exactly this! Would you mind sharing it?

    #28482
    Ripal P.Ripal P.
    Participant

    Hi Anh,
    Could you please share this how to get it done. I am not a developer so i might not be able to code but if there is step by step tutorial then i believe can do it. Or you can also share how the custom field work (you talked about earlier on this thread).

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.