I need to create a public list from civicrm. That part is straightforwards. A profile with shortcodes into WP would work. But the list needs to be filtered by country. So it is not practical to have a profile for every country. What is the best way to embed a public list in a WordPress page based on a profile combined with a variable for country?
Add/edit 'Country' field to the profile and make is searchable.
This will allow you to filter the results based on country in the directory listing.