• Resolved dehydratery

    (@dehydratery)


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

    • This topic was modified 2 years, 5 months ago by dehydratery. Reason: wrong support forum category

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

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