Hi there, managed to successfully add a ‘featured’ badge to our archive item listings. However trying to get the ‘updated’ and ‘new’ badge icons added to the main image similar to the featured but in different corners.
‘Updated’ badge would be any listing updated in last 30 days
‘New’ badge would be any listing added in last 30 days
I tried the shortcode builder for the badge and put into the archive item shortcode but went wrong somewhere.
I have attached a screen grab of the archive listing and shows where i am trying to get the ‘new’ badge and happy for the ‘updated’ to be on any other space. Also attached the shortcode i tried but didn’t work.
I am not sure whether to add the button shortcode with the existing short code independently from each other e.g.
[gd_post_badge key=’post_modified’ condition=’is_less_than’ search=’+30′ icon_class=’fas fa-certificate’ badge=’Recently Updated!’ bg_color=’#ff0000′ txt_color=’#ffffff’ alignment=’right’]
[gd_post_badge key=”featured” condition=”is_equal” search=”1″ badge=”Featured” bg_color=”#ff8040″ txt_color=”#ffffff” css_class=”gd-ab-top-left-angle gd-badge-shadow”]
or whether you need to push that as one large shortcode with all the badges as one codes.
Would appreciate if you could have a look at my shortcode attached and see how to sort this out.
Appreciate your help.