Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
372 views
in Plugins by

currently : questions title - site name


i need

question title only

by
You mean you want to remove the site name from page titles?
by
yeap yes true

1 Answer

0 votes
by

Edit qa-theme.php of the theme you're using and add/change the method head_title() to override the title generation:

public function head_title() {
  $pagetitle = strlen($this->request) ? strip_tags(@$this->content['title']) : '';
  $this->output('<title>' . $pagetitle . '</title>');
}

by
now homepage is unvisible title blank. code is missing
by
My example snippet sets the title to an empty string when $this->request is empty. Change it to something else if that's not what you want.
...