1. Osclass Forum
  2. Themes
  3. Don't show city in the ad title

Don't show city in the ad title

Started by kris koyk, February 21, 2020, 8:17 pm

  • 1

kris koyk

Don't show city in the ad title

on :February 21, 2020, 8:17 pm #191

How can I not show  city in the ad title?

calinbehtuk

Re: Don't show city in the ad title

on :February 21, 2020, 8:32 pm #193

You can change the rules in permalink settings on listing url.

kris koyk

Re: Don't show city in the ad title

on :February 21, 2020, 9:12 pm #194

What I want to do is when the visitor opens the page of each ad on the website, the city should not appear in the ad title. (bender theme). From what you said I can't do.

calinbehtuk

Re: Don't show city in the ad title

on :February 22, 2020, 9:59 am #195

You have in item.php this line


Code: [Select]
​<h1>
<?php if( osc_price_enabled_at_items() ) { ?>
<span class="price">
<?php echo osc_item_formated_price(); ?></span> <?php } ?>
<strong><?php echo osc_item_title() . ' ' . osc_item_city(); ?></strong>
</h1>


remove osc_item_city



Code: [Select]
​<strong><?php echo osc_item_title(); ?></strong>


kris koyk

Re: Don't show city in the ad title

on :February 22, 2020, 5:58 pm #196

Problem solved now, thank you very much!

  • 1
Subscribe
X

Subscribe!

Subscribe to get the latest listings, updates and special offers delivered directly in your inbox.