A Gutenberg wrapper block to show region specific content.
Determines user country from user_country cookie, which must be set manually.
Currently has 3 regions: Latvia, CIS and Global.
- Clone repository and navigate to it.
- In the repo folder run:
npm install - To build the plugin run:
npm run build - Create zip file containing
country-wrapper-block.php,editor.cssand/build - Install and activate in WordPress