Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Where Can I Find The " public function title() " On The Core Files?

0 votes
206 views
asked Apr 21, 2015 in Q2A Core by Cupitchari di Catel

I've seen this function " public function title() " on Snow theme in qa-theme.php , well it's almost in every theme.
But where can I find this function on the core? Where is this function placed on the core files?

 

// add RSS feed icon after the page title
 public function title()
 {
  qa_html_theme_base::title();

  $feed=@$this->content['feed'];

  if (!empty($feed))
   $this->output('<a href="'.$feed['url'].'" title="'.@$feed['label'].'"><img src="'.$this->rooturl.'images/rss.jpg" alt="" width="16" height="16" border="0" class="qa-rss-icon"/></a>');
 }

1 Answer

0 votes
answered Apr 21, 2015 by pupi1985
selected Apr 21, 2015 by Cupitchari di Catel
 
Best answer

It is defined in class qa_html_theme_base, which is in the file /qa-include/qa-theme-base.php. Link to function.

...