How to Create a .pot file for theme or plugin with POEdit

Here is how you can create a .pot file for your theme with POEdit (free edition, version 1.7.7) on OS X. Best practice is to save language files in a folder named “languages” in your theme directory. If you haven’t already, create it before you start. In POEdit: