This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Overlays on Top of Featured Image Previews

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Overlays on Top of Featured Image Previews Reply To: Overlays on Top of Featured Image Previews

#25139
Ernest MarcinkoErnest Marcinko
Keymaster

Hi Don,

No, the $r is a PHP object of the currently printend result – one single post, or other result type. The has_term() checks if the currently parsed item belongs to the given taxonomy term by their post ID ($r->id). The $r->id is always the currently looped post ID or item ID (user ID, taxonomy term ID etc..) depending on the result type.