Classic Responsive Skin Hooks

Looking to interact with the Classic Responsive Skin in a programmatic way? Use these hook locations to do anything you want, wherever you want!

In the Classic Responsive Skin, the following elements each have four hooks associated with them by default:

  • container
  • header
  • columns
  • content
  • post_box
  • headline_area
  • byline
  • post_comments
  • comments
  • comment_head
  • comment_footer
  • comment_form
  • prev_next
  • sidebar
  • footer
  • page_comments
  • archive_intro

If each of the above elements can be represented by $hook, then the four hooks available on each element are as follows:

  • hook_before_$hook (before the opening tag)
  • hook_top_$hook (just after the opening tag)
  • hook_bottom_$hook (just before the closing tag)
  • hook_after_$hook (after the closing tag)

Using the post_box element as an example, these are its four hooks:

  • hook_before_post_box (before the opening tag)
  • hook_top_post_box (just after the opening tag)
  • hook_bottom_post_box (just before the closing tag)
  • hook_after_post_box (after the closing tag)

Thus, the Classic Responsive Skin provides sixty-eight specific hook locations out of the box for you to use in its custom.php file, without your needing to assign any hook names yourself.