Post header metadata
Hi Jenifer,
I’m looking to add the star ratings and ‘Jump to Recipe’ buttons from the WP Recipe Maker plugin below the post header metadata (specifically below the author and date). I have the code to display the star ratings, but I’m not sure which PHP file to modify. I suspect it might be entry-meta.php
, but adding the code there didn’t work.
I’m not really sure how they want you to add this. With kadence themes you don’t have header php files. Just the main functions file, so you main need to create one that would loop it in. Or add it to the functions.php. If you add it to the kadence framework anytime you update the framework, it will remove the code with the new updated files.
They mentioned the shortcode should be added in the php file which contains the metadata such as the author and post date. But I’m having some issues locating this file. I have seen other Kadence blogs have these jump to recipe and ratings in the header: https://fullofplants.com/best-vegan-cinnamon-cereals/
Do you know where I should place my shortcode if I want to avoid the framework update to remove the code?
Many thanks,
Emma
You could try adding it to the functions file of the theme file and see if that works. You may need to reach out to Kadence support and see what they say. You could also try using a plugin like WP Code and adding it that way so it hooks in.
Thank you, Kadence has indicated that we needed their pro plan to be able to add metadata in the post header. I’ll look into WP Code also, thank you 🙂
Please login or Register to submit your answer