Hi there,
The link I provided is not for an individual page with ID. The ID that you see in the code is for the header that you want to batch assign to all event pages. You need to find the header ID that you want to assign only for event pages.
Let me give an example:
add_filter('cs_match_header_assignment', 'custom_search_header');
function custom_search_header($match) {
if (is_user_logged_in()) {
$match = 1234; // the post ID for your header
}
return $match;
}
In the example above 1234 is the ID of the header that you want to assign.
is_user_logged_in()
is the code that says assign the header only if the user is logged in. Now instead of this code you need to contact the plugin developer and ask them that which code you need to replace to assign the header in question to all event pages.
As I mentioned before we can not guarantee header builder assignment specific to pages that are generated by the 3rd party plugins. None of the plugins you mentioned is part of the bundled plugins. Our bundled plugin for the event is the Moder Events Calendar plugin:
Thank you for your understanding.