What you want to do is create separate page templates then in those page templates where you call the WP header, you would reference different headers.
By default your theme will have these:
header.php
page.php
In your page.php
there’s a line wp_header();
When you make your template, which can easily just be a copy of page.php
with a few minor changes, you would then reference a different header file.
ie. wp_header( 'new' );
Then you have to have a file like header-new.php
in your theme directory.
The same thing applies to footer.php and wp_footer();
.
Related Posts:
- Hide prices and checkout functionality in woocommerce
- How to Display Product specific to a category with WooCommerce Plugin? [closed]
- Can’t set proper WooCommerce language translation [closed]
- How to authenticate custom API endpoint in WooCommerce [closed]
- Function to Set Product type in Woocommerce [closed]
- Updating WooCommerce variable product stock issue
- Override core woocommerce class
- WooCommerce – Where is functions.php?
- Woocommerce Shipping module available only for type of products [closed]
- WooCommerce – Adding Custom Order Without No Product [closed]
- XML sitemap over product variations
- How to remove the woocommerce_checkout_process action hook in woocommerce if particular project in cart [closed]
- Manually add order item with fixed product_id in WooCommerce
- HTML in WooCommerce settings
- WooCommerce shop page orderby [closed]
- WooCommerce Custom Product to checkout
- Reduce Drop down Menu Width in WordPress
- How to stop activating a plugin and show admin notice when dependent plugins minimum version is not met
- How to enable specific plugin only based around shop manager role?
- Why required field not working in Country dropdown in WooCommerce –
- How to modify WCMP Rest API response?
- Woocommerce dependent plugin
- How to check current user before all actions and filters?
- I want to disable Cash on delivery based on product tag in woocommerce Checkout Page [closed]
- Is there a way to create custom product templates based on category on WooCommerce?
- CampaignMonitor for WooCommerce – Move subscribe button [closed]
- Pre booking doesn’t work with custom bootstrap modul in woocommerce [closed]
- WooCommerce specifc variations for specific user role [closed]
- Custom Pages for Woocommerce Product-Category Pages
- Woocommerce Minimum Price for a Composite Product to add in cart
- Redirect to another page using contact form 7? [closed]
- Is there a way to get plugins and themes not built for multisite to work on a network subsite?
- Add item to the woocommerce dashboard menu from a plugin
- How to get the particular product quantity in orders in Woocommerce [closed]
- Get orders of a specific customer woocommerce
- wc_get_template new template does not showing up
- Woocommerce – WordPress Roles & Capabilities
- Custom template for all woo commerce categories
- Search users with custom meta data
- Is it possible to instantiate a new WC_Cart?
- Sell access to form [closed]
- How to change layout of shop page in wordpress? [closed]
- I want to filter my products with attributes [closed]
- Automatic recurring payment using YITH subscription and Dokan Stripe
- How to get custom minimum price in Woocommerce
- Edit all $wp_scripts at once to $in_footer = false
- Restrict posts to customers with complete WooCommerce orders only
- How To Use do_shortcode with WooCommerce One Page Checkout
- How to makes changes on the shop/category/tag pages but not on the product pages in woocommerce?
- product available stock day by day
- woocommerce – adding wrapper around custom made woocommerce form fields
- How can i solve php upgrade problem
- woocommerce: Customize email with item total count
- Save order without sending the invoice / order details woocommerce [closed]
- show wc_add notices on particular page in woo commerce custom plugin development
- How to Upload images to a custom folder in upload folder using media uploader
- I have English words in Kurdish pages
- Make modification of add_to_cart button specific to single page
- How to get the checkout form data from checkout page when place-order button is clicked
- Product Page loads terribly slow when product gallery images are added
- How to make WooCommerce multiple filter with custom meta fields
- One WooCommerce Store to multi distributor sites
- Google Maps for Woocommerce Checkout
- Custom form data not displaying in cart page?
- category page multiple products add to cart any plugin available for woocommerce
- best way to handle subscriptions with a licence?
- “Enable Media Replace” plugin does not update serialized object in WPMeta
- Is there a request for products plugin for WooCommerce
- woocommerce with external ftp site
- Meta Key array building with multiple input values from fields
- Only return taxonomies that are linked to a category & product
- WordPress eMails not working
- How Can I display Specific User Pages?
- Configuring default woo commerce login with modal popup
- Custom plugin issue – Notice: Trying to get property of non-object in
- fetch price from different table woocommerce
- Cannot save a custom meta field in quick edit
- Saving data only when payment is successful
- Template conflict with WC Payment Method
- Get value from an input field and pass into update_meta_data as $meta_value
- Change value of Points earned in product data
- Problem with conditional woocommerce custom checkout field
- How woo-commerce store Product Data value in DB?
- Not getting result using ajax on wordpress
- How to allow customers to input a text as a product variation *and* charge per character?
- WooCommerce doesn’t show UK countries in the shipping options [closed]
- WooCommerce custom query and paging: Not Found error
- WooCommerce & WooCommerce Shopee Intergration
- Am I allowed to resell WordPress Premium Plugins under GPL? [closed]
- which plugin is this? [closed]
- Adding a script & php to functions.php
- Override the plugin class and function
- Woocommerce Product Page Collapsible Box Using CSS
- How to create a “plugin” or “block” that can manipulate WordPress DOM in frontend?
- Template selector for woocommerce product
- Plugin Icon does not work correctly
- Convert from Portfolio post to WooCommerce products [closed]
- Per-Day booking with customer-supplied start time using Woocommerce Bookings
- add to cart linking to add to cart page
- Need to add custom cart item data