WordPress Twenty-Sixteen Theme: header.php

Function Calls

  • language_attributes()
  • bloginfo( ‘charset’ )
  • is_singular()
  • pings_open()
  • get_queried_object()
  • bloginfo( ‘pingback_url’ )
  • wp_head()
  • body_class()
  • _e()
  • is_front_page
  • is_home()
  • esc_url()
  • home_url()
  • bloginfo( ‘name’ )
  • get_bloginfo( ‘description’, ‘display’ )
  • is_customize_preview()
  • has_nav_menu( )
  • esc_attr_e()
  • wp_na_menu()
  • get_header_image()
  • apply_filters()
  • header_image()
  • wp_get_attachment_image_srcset
  • get_custom_header()->attachment_id

IDs and Classes

  • html
    • Class: no-js
  • Opening Div
    • ID: page
    • Class: site
  • Div
    • Class: site-inner
  • a
    • Classes: skip-link, screen-reader-text
  • Header
    • ID: masthead
    • Class: site-header
    • Role: banner
  • Div:
    • ID: site-header-main
  • Div
    • Class: site-branding
  • Header (H1)
    • Class: site-title
    • Relationship: Home
  • P
    • Class: site-description
  • Button
    • ID: menu-toggle
    • Class: menu-toggle
  • Div
    • ID: site-header-menu
    • Class: site-header-menu
  • Nav
    • ID: site-navigation
    • Class: main-navigation
    • Role: navigation
    • Aria-Label: Uses esc_attr_e on Primary Menu.
  • Nav
    • ID: social-navigation
    • Class: social-navigation
    • Role: navigation
    • Aria-Label: Uses esc_attr_e on Social Links Menu.
  • Div
    • Class: header-image
  • Div
    • ID: content
    • Class: site-content
%d bloggers like this: