add city name in list view

This topic contains 1 reply, has 2 voices, and was last updated by  Stiofan O’Connor 7 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #329668

    Ding Hua
    Expired Member
    Post count: 152

    Hi ,

    Referring below post ,
    https://wpgeodirectory.com/support/topic/add-city-name-in-list-view/#post-274157

    I think geodir_show_listing_info already released as new version is already out.

    May I know how can I use it ?

    Rgds,
    YC

    #329744

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi YC,

    You would use that filter like this:

    
    
    add_filter('geodir_show_listing_info','_my_listing_extra_info',10,2);
    function _my_listing_extra_info($html,$fields_location){
    
        $html = '###start###'.$html.'###end###';
    
        return $html;
    }

    Thanks,

    Stiofan

Viewing 2 posts - 1 through 2 (of 2 total)

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

Open Support Ticket