835 views
in Web Develop by (423 points)

1 Answer

0 votes
by (423 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

292 questions

75 answers

2 comments

5,034 users

3 Online Users
0 Member 3 Guest
Today Visits : 912
Yesterday Visits : 1245
Total Visits : 6048254
...