Customizing Metadata Below Featured Image in Kadence Single Blog Posts
Creating your own metadata and displaying it below the featured image in a Kadence single blog post is a powerful way to personalize your blog layout and improve user engagement. Using the ‘kadence_single_after_featured_image
‘ hook, you can insert custom metadata that adds value to each post. This could include essential details such as the author, categories, or even unique information like estimated reading time or related tags. For my setup, I customized the metadata to display only the date in a simplified format—showing just the month and year—providing a cleaner, more professional look.
One of the key aspects of this customization is that it is configured to display exclusively on single post types. This prevents the metadata from cluttering archive pages or other parts of the site, ensuring that it remains focused and enhances the user experience where it’s most relevant.
In addition to this custom metadata, I use the WP-PostViews plugin to handle post view counts. This plugin allows me to display the number of views for each post through the use of shortcodes. WP-PostViews also supports custom CSS, enabling me to style the view count display to match the design of my site. The separation of the view functionality from the metadata gives me greater flexibility, allowing for more precise control over how information is presented to the user.
By combining Kadence’s flexible hooks and the WP-PostViews plugin, you can enhance both the aesthetics and functionality of your posts, creating a more polished and user-friendly experience.
Wp-postviews can be found here: https://en-gb.wordpress.org/plugins/wp-postviews/
Views: 119Notes:
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: