This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

Romeo

  • ****
  • 115 posts
name of the country
« on: May 03, 2017, 05:41:50 PM »
How to hide the text with the name of the country, but not the function

*

Ivanko

  • *****
  • 388 posts
Re: name of the country
« Reply #1 on: May 03, 2017, 09:35:40 PM »
in item.php

Code: [Select]
<?php
    $location_array 
= array(osc_item_country(), osc_item_region(), osc_item_city());
    
$location_array array_filter($location_array);
    
$item_loc implode(', '$location_array);
  
?>

delete the Country

Code: [Select]
<?php
    $location_array 
= array(osc_item_region(), osc_item_city());
    
$location_array array_filter($location_array);
    
$item_loc implode(', '$location_array);
  
?>

*

Romeo

  • ****
  • 115 posts
Re: name of the country
« Reply #2 on: May 03, 2017, 09:57:39 PM »
Yes there goes, but in the loop-single.php, if I delete the country I keep the brackets in which the country name is written

Marked as best answer by frosticek on May 04, 2017, 09:32:31 AM
*

Ivanko

  • *****
  • 388 posts
Re: name of the country
« Reply #3 on: May 03, 2017, 10:11:27 PM »
Yes there goes, but in the loop-single.php, if I delete the country I keep the brackets in which the country name is written

loop single

Code: [Select]
<?php echo veronika_location_format("",osc_item_region(), osc_item_city()); ?>

*

Romeo

  • ****
  • 115 posts
Re: name of the country
« Reply #4 on: May 04, 2017, 08:00:43 PM »
and this
« Last Edit: May 04, 2017, 08:02:55 PM by Romeo »

*

Ivanko

  • *****
  • 388 posts
Re: name of the country
« Reply #5 on: May 04, 2017, 09:58:01 PM »
search.php

*

Romeo

  • ****
  • 115 posts
Re: name of the country
« Reply #6 on: May 06, 2017, 06:16:44 AM »
10x, u are the best :)