These Hooks affect the Titles of posts, custom posts & custom posts tags. You can add your action (with reference to the given hooks) & call that action from the respective file (E:g – functions.php)

 

title-action-hooks

1) To Display something above or below the Title, inside the loop (E:g – Advertisements, Social Media Share Icon)

Action Hooks  –  

a) templ_before_post_title

b) templ_after_post_title

Folder Location – wp-content > plugins > Tevolution > templates

File Location   –  Single-tevolution.php, archive-tevolution.php, taxonomy-tevolution.php , taxonomy-tevolution-tag.php

 

2) To customize something with Title

Action Hook  –  templ_post_title

Folder Location – wp-content > plugins > Tevolution > templates

File Location   –  Single-tevolution.php, archive-tevolution.php, taxonomy-tevolution.php , taxonomy-tevolution-tag.php

Example 

To add post number with title write  –

add_action('templ_post_title', 'fn_templ_post_title');
function fn_templ_post_title(){
global $post;
echo $post->ID."-".$post->post_title;
}

 

3) To customize post meta (like author, publish date etc)

Action Hook  –  templ_post_info

Folder Location – wp-content > plugins > Tevolution > templates

File Location   –  Single-tevolution.php, archive-tevolution.php, taxonomy-tevolution.php , taxonomy-tevolution-tag.php

We have specified the name of the Hooks & their file locations using which you can add your specific code at the respective file & call these hooks from there (Like functions.php).