Last Updated: February 25, 2016
· dhinesh

Change View title with taxonomy term

If you want to set a custom title of a view page, when the view is to display the content with respect to taxonomy terms from URL, add the following in your template.php

 function template_preprocess_page(&$variables) {
  $current_path = drupal_get_path_alias();
   if($current_path == 'taxonomy/term') {