Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Secondary wordpress header

$
0
0

Replies: 0

Howdy wordpressers, I come to yall today to seek your vast experiences to help me solve this creative problem I have. Currently I want to create a secondary header for my web shop which will display the woo commerce cart widget at the right of the header, replacing the ‘shop’ button. I understand the code for applying the change is

<?php
if(is_page(shop))
{
get_header('header-shop');
}
else
{
get_header();
}
wp_head();
?>

However, I am having trouble isolating the element within the header.php file to change the button widget at the right of the header and replacing it with the woocomerce cart widget code. I am at my wits end already and any sort of help and advice would be greatly appreciated, thanks!!


Viewing all articles
Browse latest Browse all 59525

Trending Articles