GavickPro Documentation

A full list of Available Hooks in the GavernWP theme framework for WordPress

Below you can find a full list of all available hooks in our GavernWP theme framework for WordPress.
Full description How to use the Filters and Actions can be found here.

Hooks connected with the document:

  1. gavernwp_doctype used to generate doctype declaration e.g. HTML 5 doctype ( placed in layouts/header.php file)
  2. gavernwp_html_attributes used to generate <html> tag attributes (placed in layouts/header.php file)
  3. gavernwp_title standard function used to generate the page title (placed in layouts/header.php file)
  4. gavernwp_metatags used to generate metatags e.g. Open Graph, Gavern SEO metatags (placed in layouts/header.php file)
  5. gavernwp_fonts generates Gavern fonts (placed in layouts/header.php file)
  6. gavernwp_ie_scripts generates scripts connected with IE browsers (placed in layouts/header.php file)
  7. gavernwp_head used to generate the code at the end of the <head> section (placed in layouts/header.php file)
  8. gavernwp_body_attributes used to generate body class and other attributes (placed in layouts/header.php file)
  9. gavernwp_footer used to generate a content in the footer of the document, before the closing <body> tag (placed in layouts/footer.php file)
  10. gavernwp_ga_code used to generate the Google Analytics before the closing <body> tag (placed in layouts/footer.php file)

Hooks connected with the content:

  1. gavernwp_before_mainbody used to generate a content before mainbody section (placed in index.php file)
  2. gavernwp_after_mainbody used to generate a content after mainbody section (placed in index.php file)
  3. gavernwp_before_loop used to generate a content before the Loop – code used by WordPress to display posts (placed in index.php, archive.php, author.php, category.php, search.php, tag.php)
  4. gavernwp_after_loop used to generate a content after the Loop (placed in index.php, archive.php, author.php, category.php, search.php, tag.php)
  5. gavernwp_before_nav used to generate a content before post navigation (placed in gavern/helpers/helpers.layout.fragments.php file)
  6. gavernwp_after_nav used to generate a content after post navigation (placed in gavern/helpers/helpers.layout.fragments.php file)
  7. gavernwp_before_post_content used to generate a content before each post (placed in layouts/content.post.header.php)
  8. gavernwp_after_post_content used to generate a content after each post (placed in layouts/content.post.footer.php)
  9. gavernwp_before_column used to generate a content before the column with sidebar (placed in layouts/after.php)
  10. gavernwp_after_column used to generate a content after the column with sidebar (placed in layouts/after.php)
  11. gavernwp_before_sidebar used to generate a content before the sidebar (placed in gavern/helpers/helpers.layout.php file)
  12. gavernwp_after_sidebar used to generate a content after the sidebar (placed in gavern/helpers/helpers.layout.php file)

Hooks connected with comments:

  1. gavernwp_before_comments_count used to generate a content before the comments count – on the top of the comments section (placed in comments.php file)
  2. gavernwp_after_comments_count used to generate a content after the comments count – on the top of the comments section (placed in comments.php file)
  3. gavernwp_before_comments_list used to generate a content before all comments (placed in comments.php file)
  4. gavernwp_after_comments_list used to generate a content after all comments (placed in comments.php file)
  5. gavernwp_before_comment used to generate a content before every single comment (placed in gavern/helpers/helpers.layout.fragments.php file)
  6. gavernwp_after_comment used to generate a content after every single comment (placed in gavern/helpers/helpers.layout.fragments.php file)
  7. gavernwp_before_comments_form used to generate a content before the comments form (placed in comments.php file)
  8. gavernwp_after_comments_form used to generate a content after the comments form (placed in comments.php file)
A full list of Available Hooks in the GavernWP theme framework for WordPress 5.005 (100.00%) 1 vote