Is it possible to display at the top of the page
https://maydomain/account/vendor/ the vendor widget?
It is very useful for when users enter https://maydomain/account/vendor/ they feel comfortable seeing their profile picture
Thanks!!!
Is it possible to display at the top of the page
https://maydomain/account/vendor/ the vendor widget?
It is very useful for when users enter https://maydomain/account/vendor/ they feel comfortable seeing their profile picture
Thanks!!!
Please try this PHP snippet to add a vendor block to the sidebar section.
add_filter(
'hivepress/v1/templates/vendor_dashboard_page/blocks',
function ( $blocks ) {
return hivepress()->template->merge_blocks(
$blocks,
[
'page_sidebar' => [
'blocks' => [
'listing_vendor' => [
'type' => 'template',
'template' => 'vendor_view_block',
'_order' => 0,
],
],
],
]
);
},
1000
);
Have a nice day.
Works perfectly mate! Thank you!!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.