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.
Was this information helpful?
Comments: