I have a WordPress website, where I want to set the Site Title and Tagline differently for different countries. How can I check some conditions and then change the title and tagline each time the website loads?
For Example.
<?php
if( $country == 'usa' ){
// Title will be "Jobs in USA"
// Tagline Will be "Best Jobs in United States"
}
else if( $country == 'uk' ){
// Title will be "Jobs in UK"
// Tagline Will be "Best Jobs in United Kingdom"
}
I can change those in Settings >> General but I want to check each country then show a different title and tagline. can anyone help me to solve this problem?