Also, would there be a way to automatically add a banner when someone signs up? I find vendors tend to put in a profile picture while forgetting to put in a banner which does not look aesthetically pleasing.
You can generally use this snippet to auto set a banner image when a vendor first registers:
add_action('user_register', 'set_custom_user_meta_on_registration', 10, 1);
add_action('woocommerce_created_customer', 'set_custom_user_meta_on_registration', 10, 1);
function set_custom_user_meta_on_registration($user_id) {
// Check if the user meta already exists to avoid overwriting it if the user is updated
if (!get_user_meta($user_id, 'marketking_profile_logo_image_banner', true)) {
// Set the user meta for the new user
update_user_meta($user_id, 'marketking_profile_logo_image_banner', 'https://site.com/img.png');
}
}
You would need to set the image link in the snippet.
Hi guys
I want to add badges to vendors who upload verification documentation to me.
I uploaded a badge onto my page but it is coming out pixelated.
Can we fix this?
Thank you.
I had the badge on but I disabled it as it did not look good.
We had looked at this before and you had provided a php snippet ad it worked before but not so much now.
Hi Anthony,
I looked into that and it seems the Jetpack plugin is reducing the image quality based on the 'speed up image load times' setting here:
https://flexitime.ie/wp-admin/admin.php?page=jetpack#/performance
When that is disabled, images show as intended.
Kind regards,
Stefan
Thank you.
That seems to have done the trick.
Is their another way I can change the size of the profile picture or move the store name underneath it?
Do you mean here?
Changes could only be made with custom CSS. Generally you may be able to say get the text to the right side and perhaps increase the profile image.
I do not really have an easy way to do it though, it would be best to work with a designer or developer.
Also, would there be a way to automatically add a banner when someone signs up? I find vendors tend to put in a profile picture while forgetting to put in a banner which does not look aesthetically pleasing.
You can generally use this snippet to auto set a banner image when a vendor first registers:
You would need to set the image link in the snippet.