Forum

echo $current_count...
 
Notifications
Clear all

echo $current_country_code

2 Posts
2 Users
0 Likes
235 Views
(@max-it74)
Posts: 4
New Member
Topic starter
 

Hi,

I tried in every way to print the country string in main page

does anyone know how it can be done?

I tested:
echo osc_country();
echo $country['pk_c_code'];
$current_country_code = $country['pk_c_code'];

also $codecountry= str_replace(' http://', '', osc_country_url());
$codecountry = str_replace('.MYDomain', '', $codecountry); >>>>> no good ;D

 
Posted : 22/04/2020 7:30 pm
(@rusnam)
Posts: 219
Estimable Member
 

are you trying to country code from your subdomain?

 
Posted : 26/04/2020 5:04 pm
Share: