Rearrange kadence theme meta data below the excerpt
You wanted to rearrange the layout of archive posts in the Kadence theme. Specifically, you aimed to relocate the metadata section below the excerpt. This adjustment involves altering the theme’s structure to display the metadata information, such as date, author, and categories, beneath the excerpt of each post on the archive page. By making this change, you can enhance the readability and visual flow of your archive posts, ensuring that essential information is presented in a logical order for your readers.
I use fluent snippet plugin for all my functions, JS and CSS needs
I’m curently using this script on my home page!
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 );
});
Exmaple Images:
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.
This Script is AS IS.
Notes:
This basic script, CSS style, and plugin are designed to function optimally assuming minimal interference from your theme or other plugins. If conflicts occur or further customization is needed, additional adjustments may be necessary. Please note that this script, CSS style, or plugin must be used AS IS.
Wp Scriptly
Comments: