I’m trying to able the companies upload webp/svg logos, but it’s not working. I added this code, but nothing happens:
function filter_allowed_mime_types( $allowed_mime_types, $field ) {
if ( 'company_logo' === $field ) {
$allowed_mime_types = [
'jpg|jpeg|jpe' => 'image/jpeg',
'gif' => 'image/gif',
'png' => 'image/png',
'webp' => 'image/webp',
'svg' => 'image/svg',
];
} else {
$allowed_mime_types = [
'jpg|jpeg|jpe' => 'image/jpeg',
'gif' => 'image/gif',
'png' => 'image/png',
'webp' => 'image/webp',
'svg' => 'image/svg',
'pdf' => 'application/pdf',
'doc' => 'application/msword',
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'mp4' => 'video/mp4',
];
}
return $allowed_mime_types;
}
add_filter( 'job_manager_mime_types', 'filter_allowed_mime_types', 10, 2 );
Someone can help me? JPG, PNG works fine… but svg and webp not!
]]>Thanks.
]]>Second question is COMPANY LOGO. It allways open a new tab. Is there a way to not open a new window? I want to link that logo image to homepage without opening a new tab.
Page link is an example. Main page for career is : https://hdf.sk/kariera/
Thank you in advance :).
]]>Within the single job listing there should be an option to increase the feature logo as well. Again, the template is too small (thumbnail), so larger pics are cut off or smooshed if they’re resized.
I have the Enfold Child Theme, if that helps. Changing the Media settings does not fix the template within the plugin issue.
This seems to be something others have tried unsuccessfully to figure out, but since there is the same questions on the internet, I know it’s a request that is in demand.
Looking forward to hearing from you.
]]>I have set a logo, 90 pixels wide by 60 pixels high, hosted on an HTTPs server.
Linked to it in the backend Custom Checkout Page Logo Image but it does not show on the checkout page.
Any idea how to fix this?
]]>