The WPJM_Company_Logo_Tag
class extends Elementor’s Dynamic Tag system to provide company logos as an image source. It returns an array containing the logo’s attachment ID and URL when successful.
While it may first seem that the image for the custom post type job_listing
ist company_logo
, WPJM actually uses the wordpress core post image meta keys. As such, you could in this instance just use the standard post image widget from Elementor to display the company logo in a single template for example. I decided to add this anyways to the dynamic tags in this plugin to prevent confusion for most users and thus save time in support.
Return Value
[
'id' => $logo_id, // WordPress attachment ID
'url' => $url // Full URL to the logo
]