• 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!!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @dehydratery,

    IMO, the easiest way is by adding those elements, the button, and the cart, to the Header and then using custom CSS to show and hide them on the respective page.

    However, please bear in mind that we are not offering any help that involves custom code.

    Kind regards,
    Herman ??

Viewing 1 replies (of 1 total)
  • The topic ‘Secondary wordpress header’ is closed to new replies.