determine_attributes()
abstract protected function determine_attributes()
This is an abstract method that should be included in the theme-specific layout class that extends Method_Layout. In this method, you'll run conditionals against properties set by the build_page() method to determine the layout components needed for specific layouts, which is stored as an array of components in the "components" key of the $attr property. This array is later used by the build_components() method to build out the HTML for set components.
#
ExampleThe function above would register layout components for different pages/archives, as listed below: