• Resolved Starostka

    (@starostka)


    Hello guys

    I don’t know if this is the place to post this. But I would really like to change my header for this theme to match one of my older ones. But to do this I need access to the PHP and HTML so that I can remove and add to my header.

    I have made a child-theme of storefront but in my header.php in the <div> section I only see this:

    <header id=”masthead” class=”site-header” role=”banner” <?php if ( get_header_image() != ” ) { echo ‘style=”background-image: url(‘ . esc_url( get_header_image() ) . ‘);”‘; } ?>>
    <div class=”col-full”>
    Hello from header!
    <?php
    /**
    * @hooked storefront_skip_links – 0
    * @hooked storefront_social_icons – 10
    * @hooked storefront_site_branding – 20
    * @hooked storefront_secondary_navigation – 30
    * @hooked storefront_product_search – 40
    * @hooked storefront_primary_navigation – 50
    * @hooked storefront_header_cart – 60
    */
    do_action( ‘storefront_header’ );?>

    </div>
    </header><!– #masthead –>

    ————————————————————————–
    I do not understand these @hooked actions? I would like to put things in inline and remove some of the elements.

    Anyway, thanks in advanced guys. I know my way around HTML and a little in PHP. But I’m certainly not a professional so please bare with me and maybe point me in the correct direction to solve this problem.

    Kind regards
    Benjamin

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can i access the html and php of the header?’ is closed to new replies.