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-
AuthorPosts
-
May 29, 2019 at 5:57 am #489660
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.
May 29, 2019 at 7:17 am #489680Hi 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
May 29, 2019 at 7:21 am #489684Hi, 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.May 29, 2019 at 7:42 am #489694Hi there,
Thanks for your reply. Could you show us what you’ve done so that we could assist you further with this?
May 29, 2019 at 7:44 am #489695I’m looking for the code that will make GD Archive Item look exactly like your demo. Thanks.
May 29, 2019 at 7:49 am #489697Hi 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 .
May 29, 2019 at 7:50 am #489698What 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.
May 29, 2019 at 7:55 am #489701Hi 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
May 29, 2019 at 7:58 am #489704The 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.
May 29, 2019 at 8:01 am #489706This 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.
May 29, 2019 at 8:10 am #489713Demo 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.
May 29, 2019 at 12:13 pm #489754Thanks for your post, we will look into providing that.
May 29, 2019 at 5:59 pm #489829Here 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
May 29, 2019 at 6:05 pm #489831Thank you very much. It is looking great now.
May 29, 2019 at 8:58 pm #489874 -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket