Home › Forums › WoodMart support forum › change header on specific page › Reply To: change header on specific page
July 10, 2024 at 6:43 pm
#582499
mounir.madjour
Participant
Solution to this issue Marketking Plugin vendor stores using based URL
how to use special header snippets
add it to function.php child theme
// vendor stores header
add_filter(‘woodmart_get_current_header_id’, function ($id) {
if (marketking()->is_vendor_store_page()) {
return ‘header_963785’; // Replace with your actual header ID
}
return $id;
}, 1); // Setting the priority to 1 for top priority