0 like 0 dislike
905 views
in Web Develop by (571 points)

1 Answer

0 like 0 dislike
by (571 points)

You can specify title for home page using $this->template == 'qa'

There are two ways to do. Firstly: 

In qa-include/qa-theme-base.php 

search this code and change 

function head_title()

{

$pagetitle=strlen($this->request) ? strip_tags(@$this->content['title']) : '';
$headtitle=(($this->template == 'qa') ? 'YOUR CUSTOM TITLE HERE' : (strlen($pagetitle) ? ($pagetitle.' - ') : '').$this->content['site_title']);
 
$this->output('<TITLE>'.$headtitle.'</TITLE>');
}

Change YOUR CUSTOM TITLE HERE with whatever you want. This will display your custom title on Home page only

Related questions

327 questions

98 answers

7 comments

5,034 users

2 Online Users
0 Member 2 Guest
Today Visits : 197
Yesterday Visits : 1678
Total Visits : 7941862
...