Hey,
In a child theme you can add this to the child themes functions.php file.
remove_action( 'kadence_post_excerpt_header', 'virtue_post_excerpt_header_title', 10 );
add_action( 'kadence_post_excerpt_header', 'custom_post_excerpt_header_title', 10 );
function custom_post_excerpt_header_title() {
echo '<a href="'.get_the_permalink().'">';
echo '<h2 class="entry-title" itemprop="name headline">';
the_title();
echo '</h2>';
echo '</a>';
}
Ben
Hello Ben
Thank you very much solve the problem with my H.
I have the same problem in the carousel of recent entries.
It’s h5 instead of being h4
Would you know how to fix it?
Thank you very much Ben
-
This reply was modified 6 years, 9 months ago by
demoasister.
Hi @demoasister,
Sorry for the delay! Ben must have overlooked your reply. I’ve sent this over to him and he will respond as soon as he is available.
Thanks for your patience!
Hannah
Hey,
Sorry about the delay, I missed the second question:
For the carousel you can use a function like this:
remove_action( 'kadence_post_carousel_small_excerpt_header', 'virtue_post_carousel_title', 10 );
add_action( 'kadence_post_carousel_small_excerpt_header', 'custom_post_carousel_title', 10 );
function custom_post_carousel_title() {
echo '<h4 class="entry-title">';
the_title();
echo '</h4>';
}
Ben
Hi @hannahritner
Thanks for the warning, no problem. 🙂
Hi @britner
Thank you very much for your answers, everything is resolved. A very professional team thanks again.
Regards