Editing a post using front-end

This topic contains 6 replies, has 2 voices, and was last updated by  Guust 7 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #392027

    Kevin DeMara
    Expired Member
    Post count: 20

    Hey there,

    I seem to be having problems with editing and upgrading listings. The following are my issues:

    1) When hitting ‘edit post’ in a posting it brings the user to the ‘add listing’ page with the url ?pid=[# here]
    The problem is that the data for that post isn’t populated and when submitted, it just creates a new listing instead of updating the current one.

    2) I have CSS styling to customize my ‘add listing’ page, but when I hit ‘edit post’or ‘upgrade listing’ it brings me to the ‘add listing’ page but the styling isn’t there.

    3) Same problem for the ‘upgrade listing’ button. URL has pid and package_id, but it simply creates a new post and data doesn’t populate from the relevant post.

    Please let me know if I’m missing a specific setting or if you can help me troubleshoot this issues. Best,

    Kevin

    #392029

    Guust
    Moderator
    Post count: 29970

    Hi Kevin, can you post your URL and WP admin details in a private reply, so we can check your settings.

    1. Where is the CSS added for the Add Listing page?
    2. Are your plugins the latest [and non-customised] version?
    3. Any particular listings you can point to so we can review the problem?

    Thanks

    #392030

    Kevin DeMara
    Expired Member
    Post count: 20

    1. Where is the CSS added for the Add Listing page?
    I added the CSS to a new page and then used a shortcode to incorporate the add listings functionality.
    [gd_add_listing listing_type=gd_place]
    It works perfectly in the ‘add listing’ page, but when editing a post it does not. I can likely fix this by adding the CSS to the php template for ‘add-listing.php’ but I’d rather not have to do this.

    2. Are your plugins the latest [and non-customised] version?
    Yes, all updated to the newest.

    3. Any particular listings you can point to so we can review the problem?
    Yes, I’ll make you a user account and claim a listing with it. From here, you’ll be able to see the edit and upgrade link and see the issue. I’ll reply with an account in a min. Thanks

    #392031

    Kevin DeMara
    Expired Member
    Post count: 20
    This reply has been marked as private.
    #392033

    Guust
    Moderator
    Post count: 29970

    Please see https://wpgeodirectory.com/docs/core-shortcodes/#add-listing

    Do not add this shortcode to the Add Listing page selected at GD > Permalinks > GeoDirectory Pages > Add Listing page.
    That page is reserved for GD generated pages, so only add this shortcode to any extra WP pages.

    If using “Add Listing Old” it all works fine.

    Thanks

    #392034

    Kevin DeMara
    Expired Member
    Post count: 20

    Ohh okay! Got ya. Thanks again Guust. A++ support.

    #392035

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

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