Can you copy and paste the contents of GD Archive item on your demo here?

This topic contains 14 replies, has 4 voices, and was last updated by  Alex Rollin 5 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #489660

    Directory Path
    Expired Member
    Post count: 235

    How did you setup GD to show all these fields?
    Since you don’t let us see or download the code in the demo, can you please copy and paste the contents of the page GD Archive Item here so we can replicate?

    Documentation at https://wpgeodirectory.com/docs-v2/templates/archive-item/ doesn’t show how to do it.

    Thanks.

    #489680

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Thanks for your post. These are called GD Post Badges and here is the section of the documentation for your reference https://wpgeodirectory.com/docs-v2/faq/common-examples/#gd_post_badge

    #489684

    Directory Path
    Expired Member
    Post count: 235

    Hi, thanks for the reply. I look at the documentation before posting and it does not have the code necessary to copy your demo.
    Thanks in advance for posting the complete code here.

    #489694

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Thanks for your reply. Could you show us what you’ve done so that we could assist you further with this?

    #489695

    Directory Path
    Expired Member
    Post count: 235

    I’m looking for the code that will make GD Archive Item look exactly like your demo. Thanks.

    #489697

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Thanks for your reply. We couldn’t give you the exact code without checking your Website backend. Also, you can refer to some of the code in that section of the documentation https://wpgeodirectory.com/docs-v2/faq/common-examples/#gd_post_badge .

    #489698

    Directory Path
    Expired Member
    Post count: 235

    What does our website backend have to do with the code on your demo? I already read the documentation before posting and it does not include the code necessary to replicate your demo.

    #489701

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Thanks for your reply. You can use the custom code below for and see if it works for you. If it doesn’t, share your Website WP admin access here in private reply and we’ll check this out for you.

    [gd_post_badge key="claimed" condition="is_not_empty" badge='<i class="fas fa-check-circle"></i>Verified' bg_color="#ff8040" txt_color="#ffffff" size="small" alignment="right" css_class="verified"]

    As for the featured badge, have you set up the featured field? https://wpgeodirectory.com/docs-v2/geodirectory/featured-listings/#badge-setup

    #489704

    Directory Path
    Expired Member
    Post count: 235

    The GD Archive Item does not have just 1 line of code. I am looking for the code to output all the elements in the picture I attached in my original post. The code you sent outputs just the featured badge.

    I don’t know why my message is not coming across. I believe I have been very clear on what I am looking for: replicate your demo.

    #489706

    Directory Path
    Expired Member
    Post count: 235

    This is the code on GD Archive Item that comes with the default installation of GD. This code does not output all the fields in your demo.

    [gd_archive_item_section type=’open’ position=’left’]
    [gd_post_badge key=’featured’ condition=’is_not_empty’ badge=’FEATURED’ bg_color=’#fd4700′ txt_color=’#ffffff’ css_class=’gd-ab-left-angle gd-badge-shadow’]
    [gd_post_images type=’image’ ajax_load=’true’ link_to=’post’ show_logo=’true’]
    [gd_archive_item_section type=’close’ position=’left’]
    [gd_archive_item_section type=’open’ position=’right’]
    [gd_post_title tag=’h2′]
    [gd_author_actions author_page_only=’1′]
    [gd_post_distance]
    [gd_post_rating alignment=’left’ list_hide_secondary=’2′]
    [gd_post_fav show=” alignment=’right’ list_hide_secondary=’2′]
    [gd_post_meta key=’business_hours’ location=’listing’ list_hide_secondary=’2′]
    [gd_output_location location=’listing’]
    [gd_post_content key=’post_content’ limit=’60’ max_height=’120′]
    [gd_archive_item_section type=’close’ position=’right’]

    I don’t know how else to say this. I am looking for the code that outputs what you have in your demo, as per my initial message. Thank you.

    #489713

    Directory Path
    Expired Member
    Post count: 235

    Demo shows: title, photo, content, review, favorite, featured, verified, facebook, twitter, website
    Default code shows: title, photo, content, review, favorite.

    Documentation on https://wpgeodirectory.com/docs-v2/templates/archive-item/ doesn’t show how to output the other fields.

    If you can please just open GD Archive Item from the demo, hit CMD+A, CMD+C, and paste the code here that would solve this topic. Thank you.

    #489754

    Alex Rollin
    Moderator
    Post count: 27815

    Thanks for your post, we will look into providing that.

    #489829

    Paolo
    Site Admin
    Post count: 31206

    Here it is.

    [gd_archive_item_section type='open' position='left']
    [gd_post_images type='image' ajax_load='true' link_to='post' show_logo='true' show_title="1" ]
    [gd_archive_item_section type='close' position='left']
    [gd_archive_item_section type='open' position='right']
    [gd_post_title tag='h2']
    
    [gd_post_badge key="post_date" condition="is_less_than" search="+30" icon_class="fas fa-certificate" badge="New" bg_color="#ff0000" txt_color="#ffffff" alignment="left"]
    
    [gd_post_badge key="featured" condition="is_not_empty" icon_class="fas fa-certificate" badge="Featured" bg_color="#ffb100" txt_color="#ffffff" alignment="left"]
    
    [gd_post_badge key="claimed" condition="is_not_empty" search="+30" icon_class="fas fa-user-check fa-fw" badge="Verified" bg_color="#23c526" txt_color="#ffffff" alignment="left" list_hide_secondary="3"]
    [gd_post_badge key="facebook" condition="is_not_empty" icon_class="fab fa-facebook-f fa-fw" link="%%input%%" new_window="1" bg_color="#2b4be8" txt_color="#ffffff" alignment="left"]
    [gd_post_badge key="twitter" condition="is_not_empty" icon_class="fab fa-twitter fa-fw" link="%%input%%" new_window="1" bg_color="#2bb8e8" txt_color="#ffffff" alignment="left"]
    [gd_post_badge key="website" condition="is_not_empty" icon_class="fas fa-link fa-fw" link="%%input%%" new_window="1" bg_color="#85a9b5" txt_color="#ffffff" alignment="left"]
    
    [gd_author_actions author_page_only='1']
    [gd_post_distance]
    [gd_post_rating alignment='left' list_hide_secondary='2']
    [gd_post_fav show='' alignment='right' list_hide_secondary='2']
    [gd_post_meta key='business_hours' location='listing' list_hide_secondary='2']
    [gd_output_location location='listing']
    [gd_post_content key='post_content' limit='60' max_height='120'][gd_archive_item_section type='close' position='right']

    Thanks for your patience

    #489831

    Directory Path
    Expired Member
    Post count: 235

    Thank you very much. It is looking great now.

    #489874

    Alex Rollin
    Moderator
    Post count: 27815
Viewing 15 posts - 1 through 15 (of 15 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