Summary of Hooks in the Kadence WordPress Theme
Kadence WordPress theme offers a variety of hooks to customize its functionality and layout. These hooks are organized into different sections including general hooks, header, footer, content, sidebar, post/page, archive, WooCommerce, miscellaneous, and post widget hooks. Each hook allows developers to insert custom content or modify existing elements at specific points throughout the theme. This flexibility enables extensive customization and enhancement of the theme’s features.
Summary of Hooks in the Kadence WordPress Theme
General Hooks
kadence_before_wrapperkadence_after_wrapper
Header Hooks
kadence_before_headerkadence_headerkadence_after_headerkadence_header_bottomkadence_before_site_brandingkadence_after_site_brandingkadence_header_container_beforekadence_header_container_after
Footer Hooks
kadence_before_footerkadence_footerkadence_after_footerkadence_footer_bottom
Content Hooks
kadence_before_contentkadence_after_contentkadence_before_content_containerkadence_after_content_container
Sidebar Hooks
kadence_before_sidebarkadence_after_sidebarkadence_sidebar
Post/Page Hooks
kadence_before_postkadence_after_postkadence_before_post_titlekadence_after_post_titlekadence_post_headerkadence_post_footerkadence_before_pagekadence_after_page
WooCommerce Hooks
kadence_before_shopkadence_after_shopkadence_before_productkadence_after_productkadence_before_product_titlekadence_after_product_titlekadence_before_product_imagekadence_after_product_imagekadence_before_product_summarykadence_after_product_summarykadence_before_shop_loopkadence_after_shop_loop
Miscellaneous Hooks
kadence_before_commentskadence_after_commentskadence_before_commentkadence_after_commentkadence_before_comment_formkadence_after_comment_form
Archive Hooks
kadence_before_archive- Fires before the archive content begins.
- Useful for adding custom content or elements before the main archive loop starts.
kadence_after_archive- Fires after the archive content ends.
- Useful for adding custom content or elements after the main archive loop ends.
kadence_before_archive_header- Fires before the archive header.
- Can be used to add content or elements before the archive title and description.
kadence_after_archive_header- Fires after the archive header.
- Can be used to add content or elements after the archive title and description.
kadence_before_archive_loop- Fires before the archive loop starts.
- Useful for adding content or elements right before the loop begins.
kadence_after_archive_loop- Fires after the archive loop ends.
- Useful for adding content or elements right after the loop ends.
kadence_archive_loop_item_before- Fires before each item in the archive loop.
- Useful for adding custom content before each archive item.
kadence_archive_loop_item_after- Fires after each item in the archive loop.
- Useful for adding custom content after each archive item.
Post Widget Hooks
kadence_post_widget_before- Fires before the post widget content starts.
- Useful for adding custom elements or content before the widget content begins.
kadence_post_widget_after- Fires after the post widget content ends.
- Useful for adding custom elements or content after the widget content ends.
kadence_post_widget_title_before- Fires before the title of the post widget.
- Can be used to add custom elements or content before the widget title.
kadence_post_widget_title_after- Fires after the title of the post widget.
- Can be used to add custom elements or content after the widget title.
kadence_post_widget_content_before- Fires before the main content of the post widget.
- Useful for adding custom elements or content before the main widget content.
kadence_post_widget_content_after- Fires after the main content of the post widget.
- Useful for adding custom elements or content after the main widget content.
kadence_post_widget_excerpt_before- Fires before the excerpt in the post widget.
- Can be used to add custom elements or content before the excerpt.
kadence_post_widget_excerpt_after- Fires after the excerpt in the post widget.
- Can be used to add custom elements or content after the excerpt.
kadence_post_widget_meta_before- Fires before the meta information in the post widget.
- Useful for adding custom elements or content before the meta information.
kadence_post_widget_meta_after- Fires after the meta information in the post widget.
- Useful for adding custom elements or content after the meta information.
kadence_post_widget_image_before- Fires before the image in the post widget.
- Can be used to add custom elements or content before the image.
kadence_post_widget_image_after- Fires after the image in the post widget.
- Can be used to add custom elements or content after the image.
Here are some common hooks for the Kadence Post Grid/Carousel Widget:
Filters
kadence_post_grid_carousel_query_args:- Description: Allows modification of the query arguments for the post grid/carousel.
- Parameters:
$args(array): The query arguments.$attributes(array): The block attributes.
kadence_post_grid_carousel_post_classes:- Description: Allows adding custom classes to the post grid/carousel items.
- Parameters:
$classes(array): The existing classes.$post(WP_Post): The current post object.$attributes(array): The block attributes.
kadence_post_grid_carousel_container_classes:- Description: Allows adding custom classes to the container of the post grid/carousel.
- Parameters:
$classes(array): The existing classes.$attributes(array): The block attributes.
kadence_post_grid_carousel_image_attributes:- Description: Allows modification of the image attributes in the post grid/carousel.
- Parameters:
$attributes(array): The image attributes.$post(WP_Post): The current post object.$attributes(array): The block attributes.
Actions
kadence_post_grid_carousel_before_loop:- Description: Fires before the post grid/carousel loop starts.
- Parameters:
$attributes(array): The block attributes.
kadence_post_grid_carousel_after_loop:- Description: Fires after the post grid/carousel loop ends.
- Parameters:
$attributes(array): The block attributes.
kadence_post_grid_carousel_before_post:- Description: Fires before each post in the post grid/carousel.
- Parameters:
$post(WP_Post): The current post object.$attributes(array): The block attributes.
kadence_post_grid_carousel_after_post:- Description: Fires after each post in the post grid/carousel.
- Parameters:
$post(WP_Post): The current post object.$attributes(array): The block attributes.
These hooks allow you to customize various aspects of the Kadence Post Grid/Carousel Widget. For more specific hooks and detailed usage, you might want to check the Kadence Blocks documentation or source code, as the available hooks can vary between versions.
I use fluent snippet plugin for all my functions, js, and CSS:
Example:
I want to move the entry_meta data( author name, date, category, and comments) below the excerpt on the archive page. Here is the code that you will need to apply to the functions.php or use FluentSnippet plugin.
Code:
add_action('kadence_loop_entry', function(){
remove_action( 'kadence_loop_entry_header', 'Kadence\loop_entry_meta', 30 );
add_action( 'kadence_loop_entry_content', 'Kadence\loop_entry_meta', 21 );
});

















is there a similar summary of filters?
Yes, on kadence website has all of these. I just wanted to expand upon the list in one place with post, grid, and carousel widgets hooks.
-Scot