Hi,
I would like to eliminate the “send message” button from the company profile, and leave it only in the job posting. I found the following snippet but can’t get it to work:
.hp-listing--view-block .hp-listing__action--message {
display: none;
}
Any help? Thank you
yevhen
August 13, 2022, 2:35pm
3
If you mean to hide send message button on a single vendor page then please try this PHP snippet
add_filter(
'hivepress/v1/templates/vendor_view_page',
function ($template){
return hivepress()->helper->merge_trees(
$template,
[
'blocks' => [
'message_send_link' => [
'type' => 'content',
],
],
]
);
},
1000
);
it worked, thank you so much
system
Closed
September 15, 2022, 11:00am
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.