Issue with get_post_info v2

This topic contains 2 replies, has 2 voices, and was last updated by  Emlyn Jones 5 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #492122

    Emlyn Jones
    Full Member
    Post count: 32

    Hi Guys,

    I am having issues with using geodir_get_post_info($post_id); in my code.

    When I use it in custom code of mine to generate a report based on all the locations, I get the wrong inforamtion, even though the entry itself shows the right information.

    Mainly – the post title comes through as “Auto Draft”, and the post status as auto-draft, and none of the inforamtion in custom fields can be seen.

    My code generates a report CPT post which stores the output of geodir_get_post_info($post_id) as JSON.

    This JSON is then converted into a CSV file for download.

    I have checked the output of the function direct in code and it’s showing incorrect information.

    It may or may not be related, but I am unable to save the location of my new places now also.

    Look forward to hearing from you,

    Emlyn

    #492139

    Kor
    Moderator
    Post count: 16516

    Hi Emlyn,

    Thanks for your post. Could you share your Website WP admin access here in private reply so that I could check on the “Save Location Issue”? Once we’ve fixed that, I will forward it to a developer to look into the “geodir_get_post_info” issue.

    #494457

    Emlyn Jones
    Full Member
    Post count: 32

    Apologies, but the above post is not a good reflection of the issue. Please close this call, and I will raise a new topic.

Viewing 3 posts - 1 through 3 (of 3 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