Action Hooks

Artisan themes include some action hooks you can make use of to modify (or interact with) specific parts of the theme.

Simply put, a “hook” is a little spot where you can literally hook specific actions or functions, to be run in certain parts of the site’s run time without touching or modifying the template files for the theme. All the code can be added in your functions.php file inside a child theme and be kept ordered and safe from updates.

For a detailed explanation of working with hooks in WordPress please refer to the hooks documentation in the Codex.

To add a function to a hook, just add it this way:
add_action( 'the_hook_name', 'your_function_name' );
function your_function_name() {
// do stuff here
}

Available Theme Hooks:

qi_before_post
Before Single Post Content Hook – Runs right at the beginning of the ‘entry-content’ div in single posts view, before the post’s content is shown.

qi_after_post
After Single Post Content Hook – Runs right before closing the ‘entry-content’ div in single posts view, after the post’s content is shown.

qi_before_post_title
Before Single Post Title Hook – Runs right before the title in single posts view.

qi_after_post_title
After Single Post Title Hook – Runs right after the title in single posts view.

Note:
qi_before_post_title and qi_after_post_title are not available in Nayma.