Add nice features
This topic contains 16 replies, has 4 voices, and was last updated by Kiran 5 years, 5 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
August 28, 2019 at 1:58 am #505244
Hello sorry for my ignorance, but I need to know where I add these characteristics that I have pointed out in the image that I find beautiful, for:
Condition.
Brand
Model
Seller Type *
Payment Types
VideoExample: https://wordpress-314540-968128.cloudwaysapps.com/
This is a new project that I want to create and when adding the dummy datas these characteristics appeared.
August 28, 2019 at 6:46 am #505277Hi Giovan,
Thanks for your post. These are badges and you can refer to this section of the documentation https://wpgeodirectory.com/docs-v2/faq/common-examples/#gd_post_badge
August 28, 2019 at 4:09 pm #505367Hi, thanks for your help.
Add the following short code on the GD Archive page:[gd_post_badge key = “website” condition = “is_not_empty” badge = “Web Site” link = “%% input %%” bg_color = “# 9c03aa” txt_color = “# ffffff “size =” extra-large “list_hide =” 3 “list_hide_secondary =” 2 “]
In the following order:
GD Archive:
[gd_loop_actions]
[gd_loop layout=0]
[gd_loop_paging]
[gd_post_badge key=”website” condition=”is_not_empty” badge=”Web Site” link=”%%input%%” bg_color=”#9c03aa” txt_color=”#ffffff” size=”extra-large” list_hide=”3″ list_hide_secondary=”2″]But it doesn’t work for every post that has a website,
I changed the order of the short codes several times and it didn’t work.Url example: https://redsalud.com.sv/medicos/categoria/cirujanos-oncologos/
August 28, 2019 at 10:37 pm #505446Add it to the GD Archive Item template, not the GD Archive template.
September 9, 2019 at 2:19 am #507068Thanks for your answer. At this moment I am testing the ones that I think can work for me.
I had a problem with the video link, the problem is that the link opens the url of the youtube channel of the video in a new window, and I want it to be like a pop-up window on my website. I do not want a new window to open.This is the code I am using:
[gd_post_badge key=’video’ condition=’is_not_empty’ icon_class=’fas fa-video’ badge=’Video’ link=’%%input%%’ bg_color=’#0073aa’ txt_color=’#ffffff’ list_hide_secondary=’2′ css_class=’gd-badge-shadow gd-ab-top-right gd-lity’]Url example: https://redsalud.com.sv/medicos/categoria/coloprotologos/
Video: https://drive.google.com/file/d/1SAwOAhc1ksoj94oMLQ2_MN65CAFiscvP/view?usp=sharing
September 9, 2019 at 2:53 am #507070gd-lity will do that with links that are recognized as oEmbed like a direct youtube video link but not other URLs like a channel link.
September 15, 2019 at 4:04 pm #508309Thanks Alex. But if I am using gd-lity in the short code and it does not produce the desired effect.
I have discovered that if I deactivate the Rankmath plugins, it works correctly.
But before discovering that I had to deactivate that plugin, I tried to deactivate the option of that plugin that says: “Open the external links in a new tab / window”, thinking that caused the problem. But even then the same problem always occurred. So it was that I decided to deactivate the plugin completely and deactivating said plugin so if the link works.
But I can’t leave that plugin disabled since I consider it essential for SEO.September 15, 2019 at 4:05 pm #508310Rank Math SEO plugins
September 15, 2019 at 4:21 pm #508317Please share a link and WP Admin credentials. The link should show a page where the badge you want is working as expected so we can see what you are looking for.
September 17, 2019 at 2:14 am #508544As for the video I want this effect to be achieved: That without leaving my website, it shows the video in a pop-up window.
As you can see some examples in the following link:https://wordpress-314540-968128.cloudwaysapps.com/
Video showing the desired effect:
https://drive.google.com/file/d/1AeSeaf5UfkxJ7Mpi7UV32uLrIiD_vfTp/view?usp=sharing
As for the badges there is one that I have named “Special offers”, which should appear in the lower right corner of the image. But I can’t make it appear exactly in that position. I do not know what I’m doing wrong.
September 17, 2019 at 2:15 am #508546This reply has been marked as private.September 17, 2019 at 10:38 am #508585September 17, 2019 at 12:23 pm #508618This reply has been marked as private.September 18, 2019 at 2:52 pm #508967At the moment I am going to remove the link from the video and if you could send me a notification when the developers have overcome the problem I will suffer a lot.
September 20, 2019 at 10:13 am #509341Hi Giovan,
This is something conflicts with lity element. I have added following PHP snippet to fix this. Now video popup works fine.
function gd_snippet_wp_footer() { ?> <script type="text/javascript"> jQuery(function($){ $('.gd-badge-meta.gd-lity > a').each(function(){ $(this).attr("data-lity", ""); }); }); </script> <?php } add_action( 'wp_footer', 'gd_snippet_wp_footer', 100 );
Kiran
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket