Have you created page and view. I would like to know how exactly you want to display the output and grouped posts by country.
Can you please send me problem URL and admin access details. You should just build your view without grouping so I know how exactly you want to display the output.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
ok. this is quite clever.
But ... It does not actual group them.
I have tried to use a View with a specific selection of filter. But when i tried to duplicate that view in the same page it just duplicated the reference to the view. so whenever i change the value in on view it changes to all views.
Check: hidden link
I have tried to create a content template that accepts a shortcode parameter. then use this content template in my page and pass in the country code.
But it does not seem to work.
Check: hidden link
At start your requirement is different and in middle of the ticket you change your requirement that is not how we suppose to give support.
You said you want to group posts by country that query is already been addressed and solution provided. if you have different question and requirement as stated before pleaes feel free to close the current ticket as issue is already been addressed and open a new ticket with every new question you may have. This will help other users searching on the forum as well as help us to write correct problem resoluiton summery.