• Resolved stevecabrejos

    (@stevecabrejos)


    Love your plugin. It helped me a lot. I have a question. Is there any way to include a field that allows me yo select a country and show thar country flag in the actual post? I tried to use a text field to paste the emoji code for the flag but it appears only as text. F.e: Peru′s emoji flag code is “PE”. It should show the flag, but it doesn′t.

Viewing 1 replies (of 1 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Sure, this is possible. Hoare you currently adding a text field? Is this a field in your form that you are mapping to the saved post? If you need the field to appear in your form as well then this would be the way to do it.

    Else, if you need to only have this extra field in your post then I would suggest that you create it programmatically when you map your country/language field. I assume you have a field in your form which you use to determine the country, map it to a ‘Hook with a filter’ option and save that field to your normal post field, while creating an additonal field in that post for the flag field.

    Also remember that emojis require a speicla font file to be displayed, in which case you will need to load that font file on the pages where you are trying to display the flag.

Viewing 1 replies (of 1 total)
  • The topic ‘Show Country Flags in Post’ is closed to new replies.