Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

How to Reposition the Entire “Entry Header” Section from Entry Hero?

Home / Forums / Kadence Theme / How to Reposition the Entire “Entry Header” Section from Entry Hero?

This topic is: Not Resolved
[Not Resolved]
Posted in: Kadence Theme
April 2, 2024 at 5:02 am

Hi There,

I tried repositioning the entire “Entry Header” section from kadence_entry_hero position to kadence_single_before_entry_content using some PHP on the “Code Snippet” Plugin. But it didn’t work. I know it can easily be done using the Kadence Hooked Elements add-on. But I wanted to do it manually. Here is the code.

function call_actions() {
remove_action( ‘kadence_entry_hero’, ‘Kadence\ertry_hero’, 10);
add_action(‘kadence_single_before_entry_content’, ‘Kadence\ertry_hero’ );
}

add_action( ‘init’, ‘call_actions’ );

Can anyone please tell me what is the correct code snippet? Thanks in advance!

Cheers

NB: End result should look like the image attached.

  • The forum ‘Kadence Theme’ is closed to new topics and replies.