add badge on portfolio list Salient

by ArbreMojo   Last Updated March 22, 2019 12:08 PM

I would like to add a badge on each portfolio​ thumbnail of portfolio list like this one: enter image description here

I made a plugin and tried to add my badge with the

add_filter('post_thumbnail_html','pbs_badge_tag',10,2);

​It works fine on other theme but not on Salient, and the whole point of this is to make it work on Salient.

Which filter could I use instead of post_thumbnail_html ? :)

Clara.

Tags : php filters


Related Questions


Updated April 06, 2015 17:03 PM

Updated July 15, 2015 14:03 PM

Updated February 29, 2016 01:03 AM

Updated April 27, 2016 09:03 AM

Updated June 20, 2016 08:03 AM