Claim Listing Button

This topic contains 9 replies, has 3 voices, and was last updated by  Alex Rollin 4 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #533499

    Joe Zielinski
    Expired Member
    Post count: 24

    Hi guys,

    I can’t seem to figure out how to get the claim listing button to appear on the add listing page?. I have included the shortcode below but its not appearing on the front end?

    <?php echo do_shortcode(‘[gd_claim_post text=”Claim Listing” output=”button”]’);?>

    I would appreciate if you could point me in the right directions to solve these things.

    Kind regards

    #533501

    Alex Rollin
    Moderator
    Post count: 27815

    You are working in a PHP template? If you are in the WP Page for the GD Details template you only need the shortcode.

    For GD Post Claim, please review the doc:

    https://wpgeodirectory.com/docs-v2/addons/claim/

    1. Add the Is Claimed field to the CPT
    2. Make sure both fields are included in the price package and active
    3. Add a listing, make sure NOT to check is claimed
    4. Add the widget GD Post Claim to the details page sidebar
    5. Check the listing for the button

    #533545

    Joe Zielinski
    Expired Member
    Post count: 24

    Hi Guys,

    Thank you for getting back to me.

    I have a question, I would like to add a “Not claimed” badge on the places that have not been claimed on the front end. How would i go about doing this?.

    Please see the attached screenshot.

    Kind regards

    #533552

    Alex Rollin
    Moderator
    Post count: 27815
    #533573

    Joe Zielinski
    Expired Member
    Post count: 24

    Hi Thanks,

    I have tried this but it does appear to be working or coming out on the front end? I have tried to adding a shortcode but it is still not working?

    Kind regards

    #533582

    Kor
    Moderator
    Post count: 16516

    Hi Joe,

    Thanks for your reply. It’s the “Example – Claim Listings” badge here https://wpgeodirectory.com/docs-v2/design/gd-badge/#read-more . Could you show us what you’ve done on your end? Also, share your Website WP admin access here in private reply.

    #533588

    Joe Zielinski
    Expired Member
    Post count: 24

    Hi there,

    We’ve tried copying the example word-for-word onto the places single page template, is_not_empty works fine, is_empty returns nothing. This is done by using do_shortcode().

    We also need to add this to the places archive template, so it shows against each individual place – does that make sense? Claimed listings currently show a badge, but we’d like a bade to also show for non-claimed listings. How do we go about this?

    Thanks,

    #533613

    Kor
    Moderator
    Post count: 16516

    Hi Joe Zielinski,

    Thanks for your reply. Could you share your Website WP admin access here in private reply so that we could check what you’ve done on your end?

    #533747

    Joe Zielinski
    Expired Member
    Post count: 24
    This reply has been marked as private.
    #533862

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    Have you already tried adding a badge to the GD Archive Item template?

    Why aren’t you using the WP Page for the GD Details template?

    If you want you can post your template code here for the developers to take a look.

    https://wpgeodirectory.com/docs-v2/templates/details/

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