add city name in list view

This topic contains 16 replies, has 4 voices, and was last updated by  Paolo 8 years, 5 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #269192

    Ding Hua
    Expired Member
    Post count: 152

    Hi,

    Refer attached file , I want to have city name in listing page.
    And can I put in one line for those field that I want to appear in listing page to reduce the height of item of list view.

    Rgds,
    YC

    #269203

    Kor
    Moderator
    Post count: 16516

    Hi YC,

    That can be configured in the custom field settings. Refer to this section of the documentation for more info. https://wpgeodirectory.com/docs/core-place-settings/#common . Here’s a screenshot I’ve captured on my local end http://prntscr.com/ck3cno . Well, give it a try and let us know how it goes.

    Thanks!

    #269207

    Ding Hua
    Expired Member
    Post count: 152

    Hi,

    Pls read properly.

    1)City is not the list of fields in places.
    It is from location.
    The one you mentioned is for list of fields in place.

    2) like you mentioned , I am able to do some of the fields from places.
    But,refer my attached picture , in list views , it appears line by line for each filed.
    I don’t want that as it make the height of each list views higher. I want all those fields in one line separated with comma.

    I hope you understand what I mean

    Rgds,
    YC

    #269726

    Paolo
    Site Admin
    Post count: 31211

    Hi YC,

    for that you will have to apply custom css: https://wpgeodirectory.com/docs/customizing-your-style/

    Even for the city, you can show the entire address and then hide whatever you don’t want to appear.

    Let us know how it goes.

    Thanks

    #270181

    Ding Hua
    Expired Member
    Post count: 152

    Hi Paolo,

    I am not able to find it.
    Appreciate if you could show me how to find it or the css.

    Rgds,
    YC

    #270575

    Paolo
    Site Admin
    Post count: 31211

    Please provide a link and admin credentials and I’ll assist.
    Images cannot be inspected.
    Thanks

    #271061

    Ding Hua
    Expired Member
    Post count: 152

    Hi ,
    After hide the address to appear city only with css , possible to add the city in the sorting option ?

    #271322

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    I’m not 100% sure I understand, but from the sound of it, no you can’t sort by city.

    You can filter by location only using the location switcher.

    Thanks

    #273568

    Ding Hua
    Expired Member
    Post count: 152
    This reply has been marked as private.
    #273858

    Ding Hua
    Expired Member
    Post count: 152

    Hi Paolo ,

    Are you able to see my private reply ?
    Just curious as no reply .I update 10 hours ago.

    Rgds,

    YC

    #274147

    Paolo
    Site Admin
    Post count: 31211

    Hi YC,

    a reply is guaranteed within 24hrs only. Please see: https://wpgeodirectory.com/support-policy/

    I’ve checked with the developers and there is no easy way to do what you want. They are changing the template a bit to make this possible and they will update you once done.

    Thanks for your patiemce

    #274157

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    There is not easy way to do what u want without some sore of JavaScript hack, i have added a filter that will allow you to do this, it will be in the next version. The filter is “geodir_show_listing_info”, once released we will give you some code to do it.

    Thanks,

    Stiofan

    #274348

    Ding Hua
    Expired Member
    Post count: 152
    This reply has been marked as private.
    #274352

    Ding Hua
    Expired Member
    Post count: 152

    Hi ,

    Is there is a way to save city as extra “Places custom field” when listing is submitted so that I can treat it as another custom filed and able to use to sort too. I am ok that city is duplicate in both Address and another “places custom filed”.

    Rgds,
    YC

    #274586

    Paolo
    Site Admin
    Post count: 31211

    Yes, however you will need a Jquery script to auto fill it from what is selected in the city select field.

Viewing 15 posts - 1 through 15 (of 17 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount