Effectus Skin Hooks

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

In the Effectus Skin, the following elements feature container hooks, which are really four hooks in one:

Primary Wrapper

  • container

Header Section

  • header

Content Section (General)

  • content_container
  • columns
  • content

Content Section (Blog)

  • home
  • headline_area
  • bylines
  • home_footer
  • prev_next
  • archive_intro

Content Section (Single)

  • single
  • headline_area
  • bylines
  • post_comments
  • comments
  • comment_head
  • comment_form
  • comment_form
  • prev_next

Content Section (Page)

  • page
  • headline_area
  • page_comments
  • comments
  • comment_head
  • comment_form
  • comment_form
  • prev_next

Content Section (Archives)

  • archive
  • headline_area
  • bylines
  • archive_footer
  • prev_next
  • archive_intro

Content Section (Landing)

  • landing
  • headline_area

Sidebars

  • sidebar
  • sidebar_secondary

Footer Section

  • footer_container
  • footer

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 home element (which represents the Post Box located in the Blog template) as an example, these are the four hooks by default for home:

  • hook_before_home (before the opening tag)
  • hook_top_home (just after the opening tag)
  • hook_bottom_home (just before the closing tag)
  • hook_after_home (after the closing tag)

As you see, the Effectus Skin provides seventy-two specific hook locations from the start for you to use in its custom.php file, without your needing to assign any hook names to them yourself.