Skip to content Skip to sidebar Skip to footer

WordPress add custom text after site name in Thesis theme

Reading Time: < 1 minute

How to add custom text or google ads after site name in wordpress thesis theme.We can use these hook for do this.Open the custom_functions.php in the thesis theme folder.Add the following function end of the file and save it.
File path – /wp-content/themes/thesis/custom/custom_functions.php

This function is keep the custom code.But still not displaying.

function top_google_ads() {
  // you text here

How to add Google adsense code after site name

If you want to add google ad code here, do it as follows.

function top_google_ads() {

How to Call to this function

add_action('thesis_hook_after_title', 'top_google_ads');

Full script is here.

function top_google_ads() {
} //call to this function add_action('thesis_hook_after_title', 'top_google_ads');

Also you can try to thesis_hook_before_title instead of thesis_hook_after_title.