Rearrange Kadence Theme Entry header above the thumbnail

By Webmaster

Posted: 13m & 7d ago
🕑 1 min read

👁 Views: 356

(0) Leave a Comment

Function - WpScriptly

I wanted to rearrange the layout of a post in the Kadence theme. Specifically, you aimed to move the “Entry” header above the thumbnail image. This suggests a desire to adjust the visual hierarchy and organization of content within your posts. By prioritizing the entry header above the thumbnail image, you might be seeking to emphasize the title or key information of the post before displaying supplementary visuals. This customization could potentially enhance the clarity and engagement of your posts for your audience.

I use fluent snippet plugin for all my functions, JS, and CSS snippets

This is the code I use.

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 );
});

I understand I could create a custom query template, investing 4 hours into designing it. Alternatively, I could quickly rearrange items as needed, spending only a few minutes.

Example Images:

This script is AS IS.

Author: Webmaster, Admin at WpScriptly

Hey, I’m Scot, the guy behind WpScriptly. I create simple, no-fluff WordPress plugins and tools to make your site easier to manage and more powerful. Everything I build is tested on my own projects first — if it’s here, it’s because it works. Thanks for checking out the site. Hope you find something useful at Wp Scriptly.

*These scripts and plugins are provided as is with no guarantees or warranties. If you need assistance or run into issues, feel free to reach out via the contact page.

Comments: