How to create new function for your request - this is what you need.
/*
* text before post
*/
if ( ! function_exists('kalium_blog_post_text')){
function kalium_blog_post_text(){
?>
Content before post item each
<?php
}
}
add_action('kalium_blog_loop_post_details','kalium_blog_post_text',8);
Since your are inside loop you can call and ACF Field the_field('option'), or WP function such is the_title();
Important notice number 8 means when the code will be executed since the title is number 10 is first so 8 is lower and will be executed early before title.
Hello,
I'd like to customize the archive category page (insert a text zone before the post).
So I need the category.php or equivalent file but I'm not sure which one is in Kalium.
Thanks a lot.
Best regards.
Hi yunyunmao
Blog works with actions functions that can be override (hook) or edit them directly, the list below works as it is ordered.
Blog Template
Blog Items - the functions you have to hook to edit ( to add title, date , excerpt, category ), are listed below.
How to create new function for your request - this is what you need.
Since your are inside loop you can call and ACF Field the_field('option'), or WP function such is the_title();
Important notice number 8 means when the code will be executed since the title is number 10 is first so 8 is lower and will be executed early before title.
Thank you.