You can display the Country Selector widget in two ways:
1. Using WordPress Widgets
Go to Appearance > Widgets. There you will see a widget named WooCommerce Currency Switcher - Billing Country Selector. Drag and drop it in a widget area, select a title and a widget type and click on Save. The widget will now appear on the frontend of your shop, in the area where you dropped it.
2. Using a shortcode
You can display the country selector widget using the following shortcode anywhere in your pages:
[aelia_cs_country_selector_widget title="Widget title (optional)" widget_type="dropdown"]
The shortcode accepts the following parameters:
The widget title (optional)
The widget type. Out of the box, the widget supports only dropdown. Further types can be added by implementing a filter in your theme for wc_aelia_cs_billing_country_selector_widget_types hook. If this parameter is not specified, dropdown widget type will be rendered by default.
How to use the shortcode via PHP
If you would like to call the shortcode from your template's code, you can use WordPress' do_shortcode() function, like in the following example:
// Display the widget with countries in a dropdown list echo do_shortcode('[aelia_cs_country_selector_widget title="My widget title" widget_type="dropdown"]');
For more information about using shortcodes vua PHP, please refer to WordPress Codex. Function Reference/do shortcode/.