*

Pravu Prav

  • **
  • 7 posts
I want to know that how to make it possible to show the location of the latest or premium listings in the homepage below the title of the listing

*

MB Themes

@Pravu Prav
You need some plugin for that, i.e. Radius Search Plugin.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

wzzy

  • ***
  • 25 posts
in main.php under :
                    <div class="price"><span><?php echo osc_item_formated_price(); ?></span></div>
                  <?php } ?>

put this:
<div>

       <span class="locationg "><i class="fa fa-map-marker"></i> <?php if ( osc_item_region() && osc_item_city() != null ) { ?><?php echo osc_item_city(); ?>, <?php echo osc_item_region(); ?><?php } ?></span>
           
                    </div>


in style.css put this

.locationg {
    background: #fff;
    color: #444;
    padding: 5px;
    font-weight: 500;
    float: left;
    width: 100%;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

*

Pravu Prav

  • **
  • 7 posts
oho... its working ..


Thanks for your help

*

mwangistoh

  • *
  • 2 posts
This worked for me too. thank you. What if i want to do the same for search results