Featured listings in GD V2
This topic contains 18 replies, has 4 voices, and was last updated by jotomas 5 years, 5 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
July 30, 2019 at 1:33 pm #500332
Hello,
I am reading the GD V2 documentation about Featured Listings https://wpgeodirectory.com/docs-v2/geodirectory/featured-listings/
and I have some doubts.
1) In GD V1 a red featured badge was showing over the top right corner of the featured image listing. This is no longer the case in GD V2, am I right?
2) It is possible to change the text, icon and styling of the badge, am I right?
3) Badge text can be translated with WMPL string translation, right?
4) Badge can be placed anywhere in any GD page or template moving the shortcode to the desired position, right? Is this the case also for Supreme Directory theme GD Detail page? or for this theme the badge has a fixed position in the GD Detail page header?
5) I read that multiple badges can be added. Will they show in line where the shortcode is placed? Is it possible to use several shortcodes each one showing a different Featured badge?
6) Would it be possible, for example, to create a “Best of town candidate” as well as a “Best of town confirmed” badges and show them in the GD Archive pages and GD Detail pages according to the status “candidate” or “confirmed” assigned to the business?
I look forward to your reply.
Thank you very much for your help.
Best regards.
July 30, 2019 at 1:39 pm #5003381. You can add a badge and set it to show in a corner: https://wpgeodirectory.com/docs-v2/faq/common-examples/#gd_post_badge
2. Yes
3. You should translate the archive item template if you want to have different text for badges inside the badge= value.
4. Yes, and if you are using GeoDirectory Single then there are some limitations and you may need to customize the php template.
5. If they are added inline and use the same alignment settings, then yes.
6. If that is a field that has a specific value like that, then yes, I don’t see why not.
July 30, 2019 at 6:13 pm #500420Hi Alex,
Thank you very much for your reply.
Is it possible to enter more than one value to the “Value to match” field of the shortcode? If yes, how? comma separated?
I look forward to your reply.
Thank you very much for your help.
Best regards.
July 30, 2019 at 6:35 pm #500434No, that is not possible.
July 30, 2019 at 7:07 pm #500451Hi Alex,
Thank you very much for your reply.
Is it possible to show an specific badge depending of one or more specific categories and / or tags?
I look forward to your reply.
Thank you very much for your help.
Best regards.
July 30, 2019 at 10:36 pm #500470It does not seem so, but I will take it up with the developers and find out if there is a way to make that work, ie
[gd_post_badge key="post_category" condition="is_equal" search="Hotels" badge="Hotels really" bg_color="#0073aa" txt_color="#ffffff"]
July 31, 2019 at 8:30 am #500544Hi Alex,
Thank you very much for your reply.
I will be waiting for your news about if there is a way to make it work.
Best regards.
August 1, 2019 at 4:46 pm #500760Hi @jotomas,
the badge not seems working for tags and categories. ideally it should work so i am checking it. get back to you soon on it.
Thanks
August 3, 2019 at 5:01 am #501022Hi Naveen,
Ok, thank you very much for letting me know.
I look forward to your news.
Thank you very much once again for your help.
Best regards.
August 5, 2019 at 10:20 am #501317Hi @jotomas,
I have created a task for it. so you can track progress here.
https://github.com/AyeCode/geodirectory/issues/884
Thank you
August 6, 2019 at 3:20 pm #501606Hi Naveen,
Thank you very much once again!
Best regards.
August 21, 2019 at 1:32 pm #504159Hi jotomas,
This has been implemented and also updated on your site.
For more info see https://github.com/AyeCode/geodirectory/issues/884#issuecomment-523458285
Let us know.
Kiran
August 23, 2019 at 6:06 am #504523Hi Kiran,
Thank you very much for the information.
I do not understand very well what has been updated exactly. My question was “Is it possible to show an specific badge depending of one or more specific categories and / or tags?” What the update allows exactly to do?
I look forward to your reply.
Thank you very much once again for your help.
Best regards.
August 23, 2019 at 6:43 am #504527Hi,
As i have provided example ate here: https://github.com/AyeCode/geodirectory/issues/884#issuecomment-523458285
Example 1:
[gd_post_badge key="post_category" condition="is_contains" search="32" badge="Attractions" bg_color="#0073aa" txt_color="#ffffff"]
I have category “Attractions” with ID 32. Above shortcode will display badge “Attractions” on listings which contains category “Attractions”.
Example 2:
[gd_post_badge key="post_category" condition="is_contains" search="32,33" badge="Attractions / Hotels" bg_color="#0073aa" txt_color="#ffffff"]
I have categories “Attractions” with ID 32 & “Hotels” with ID 33. Above shortcode will display badge “Attractions / Hotels” on listings which either contains any category from “Attractions” & “Hotels” or contains both categories.
Example 3:
[gd_post_badge key="post_tags" condition="is_contains" search="Museum" badge="Museum" bg_color="#0073aa" txt_color="#ffffff"]
I have tag “Museum”. Above shortcode will display badge “Museum” on listings which contains tag “Museum”.
Example 4:
[gd_post_badge key="post_tags" condition="is_contains" search="Museum,Garden" badge="Museum / Garden" bg_color="#0073aa" txt_color="#ffffff"]
I have tags “Museum” & “Garden”. Above shortcode will display badge “Museum / Garden” on listings which either contains any tag from “Museum” & “Garden” or contains both tags.
Let us know.
Thanks,
KiranAugust 23, 2019 at 7:41 am #504534Hi Kiran,
Thank you very much for your reply.
Is there a limit for the number of comma separated categories or tags?
I look forward to your reply.
Thank you very much once again for your help.
Best regards.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket