Engage Theme Hooks
Engage comes with numerous theme hooks that you may use to easily add new site content without affecting the parent theme.
Want to learn more? Please visit this article.
Actions:
engage_before_header
Before the site header.
engage_before_top_bar_left
Before the Top Bar content located on the left side of the Top Bar.
engage_before_top_bar_right
Before the Top Bar content located on the right side of the Top Bar.
engage_before_main_content
Before the main content area.
engage_before_page_title_area
Before the Page Title area.
engage_after_page_title_area
After the Page Title area.
engage_before_footer_area
Before the entire Footer area.
engage_before_footer_widgets
Before the Footer Widgets area.
engage_before_footer_bottom_bar
Before the Footer Bottom Bar (the one that holds the copyright text).
engage_after_footer_area
After the entire Footer area.
Example usage (in the child theme's functions.php file):
function my_site_new_footer_content() { echo 'Hello there! I am in a footer!'; } add_action( 'engage_after_footer_area', 'my_site_new_footer_content' );
Filters
As for now, only one filter is available that allows you to change the portfolio post type slug (used in the URL). To change the portfolio post slug, please use the following code:
function my_site_portfolio_slug( $portfolio_slug ) { return 'works'; // New portfolio slug } add_filter( 'engage_portfolio_slug', 'my_site_portfolio_slug' );
After doing so, please reset your Permalinks (go to Settings / Permalinks, change them back to default, save and then change back to pretty permalinks).