WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21506, comment 16


Ignore:
Timestamp:
08/08/12 21:53:57 (3 years ago)
Author:
iandstewart
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21506, comment 16

    initial v1  
    1 I'll preemptively argue against before_header. :) Almost anything I can think of adding to this hook (menus, ads, search forms, etc.) can be positioned visually above the header with CSS while hooking into an after_header hook. Additionally, this is likely to encourage a semantic outline for our WordPress generated web pages and is likely friendlier to screen readers. 
     1I'll preemptively argue against before_header. :) Almost anything I can think of adding to this hook (menus, ads, search forms, etc.) can be positioned visually above the header with CSS while hooking into an after_header hook. Additionally, not using before_header is likely to encourage a semantic outline for our WordPress generated web pages and is likely friendlier to screen readers. 
    22 
    33My feeling is that this will also be true for most before_ hooks.