Skip to content

Instantly share code, notes, and snippets.

@danielmilner
Last active May 9, 2018 16:20
Show Gist options
  • Select an option

  • Save danielmilner/531495eda140ac382793f8a6b430c085 to your computer and use it in GitHub Desktop.

Select an option

Save danielmilner/531495eda140ac382793f8a6b430c085 to your computer and use it in GitHub Desktop.
Beaver Tunnels - Storefront Theme #beavertunnels
add_filter( 'beaver_tunnels', 'storefront_beaver_tunnels_actions' );
function storefront_beaver_tunnels_actions( $actions = array() ) {
$actions[] = array(
'title' => __( 'Storefront', 'storefront' ),
'actions' => array(
'storefront_before_header',
'storefront_header',
'storefront_before_content',
'storefront_content_top',
'homepage',
'storefront_page_before',
'storefront_page',
'storefront_page_after',
'storefront_sidebar',
'storefront_single_post_before',
'storefront_single_post_top',
'storefront_single_post',
'storefront_single_post_bottom',
'storefront_single_post_after',
'storefront_loop_before',
'storefront_loop_post',
'storefront_loop_after',
'storefront_before_footer',
'storefront_footer',
'storefront_after_footer'
)
);
return $actions;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment