show date in listing page

This topic contains 5 replies, has 2 voices, and was last updated by  Paolo 7 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #365939

    spoot spoot
    Free User
    Post count: 8

    Hi. How I can show the publish date of place in the listing page?

    #365997

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    please see: https://wpgeodirectory.com/support/topic/how-to-claim-listing-when-i-have-bulk-uploaded-already/#post-353443

    Instead of geodir_display_post_claim_link use the_date

    add_action(‘geodir_details_main_content’, ‘the_date’, 65);

    Changing priority will change the position on that page. 8 will be the very 1st element and 100 would be the very last.

    Let us know how it goes,

    Thanks

    #366213

    spoot spoot
    Free User
    Post count: 8

    This is not exactly what I need. This is for one places.
    Please tell me the hook name for the list places.

    Thanks 🙂

    #366217

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    please use:

    
    
    add_action('geodir_after_listing_post_excerpt' ,'geodir_my_new_listings_content');
    function geodir_my_new_listings_content($tab_index)
     {
      the_date();
     }

    It should work too.

    Let us know,

    Thanks

    #366401

    spoot spoot
    Free User
    Post count: 8

    Thanks. its works 🙂

    #366402

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

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

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

Open Support Ticket