link a page I created as a under construction and link it to the menu

I believe setting the coming soon as the shop page will accomplish what you want but I may be misunderstanding what you want accomplished. To set the WooCommerce shop page, navigate to WooCommerce > Settings and click the Products Tab. In the section labeled “shop page,” click the dropdown and choose your coming soon page.

How can I use an alternate header when a query var is present

ChatGPT provided a working solution: function load_custom_header_for_campaign( $template ) { // Check if the ‘campaign’ query var is set if (isset($_GET[‘campaign’])) { // Load the header-lp.php file instead of the default header add_filter(‘get_header’, function($header) { return ‘lp’; // This will load header-lp.php }); } return $template; } add_filter(‘template_include’, ‘load_custom_header_for_campaign’); It notes: The issue you’re encountering … Read more