*

officela

  • ***
  • 64 posts
Items Location link
« on: March 08, 2020, 07:37:11 PM »
How to make the location of a listing to be a link? just like the category for example.

*

MB Themes

Re: Items Location link
« Reply #1 on: March 08, 2020, 08:21:29 PM »
@officela
Code: [Select]
<?php osc_search_url(array('page' => 'search''city' => osc_item_city())); ?>.. etc to get link
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

officela

  • ***
  • 64 posts
Re: Items Location link
« Reply #2 on: March 08, 2020, 09:32:42 PM »
Thanks!

This i have to place it on what file?
« Last Edit: March 08, 2020, 09:35:57 PM by officela »

*

MB Themes

Re: Items Location link
« Reply #3 on: March 09, 2020, 01:32:34 PM »
@officela
Check loop-single.php and loop-single-premium.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

officela

  • ***
  • 64 posts
Re: Items Location link
« Reply #4 on: March 09, 2020, 05:08:02 PM »
Code: [Select]
<div class="location isGrid">
        <?php echo (bet_item_location() <> '' bet_item_location() : __('Unknown location''beta')); ?>
        <?php if(function_exists('fi_save_favorite')) { echo fi_save_favorite(); } ?>
      </div>

Managed to see that this is the code responsible for this after your instructions.

How need be looking after? i tried replacling this :
Code: [Select]
<?php echo (bet_item_location() <> '' bet_item_location() : __('Unknown location''beta')); ?>
with this
Code: [Select]
<?php osc_search_url(array('page' => 'search''city' => osc_item_city())); ?>
yet nothing....
any hint???