You can show "Solved" instead of "Closed" with overriding two layer functions of qa-include/qa-theme-base.php.
/*
public function title()
{
$q_view = @$this->content['q_view'];
// link title where appropriate
$url = isset($q_view['url']) ? $q_view['url'] : false;
if (isset($this->content['title'])) {
$this->output(
$url ? '<a href="'.$url.'">' : '',
$this->content['title'],
$url ? '</a>' : ''
);
}
// add closed note in title
if (!empty($q_view['closed']['state']))
$this->output(' ['.$q_view['closed']['state'].']');
}
*/
public function title()
{
$q_view = @$this->content['q_view'];
// link title where appropriate
$url = isset($q_view['url']) ? $q_view['url'] : false;
if (isset($this->content['title'])) {
// add closed note in title
if (!empty($q_view['closed']['state']))
$this->output('[Solved] ');
$this->output(
$url ? '<a href="'.$url.'">' : '',
$this->content['title'],
$url ? '</a>' : ''
);
}
}
/*
public function q_item_title($q_item)
{
$this->output(
'<div class="qa-q-item-title">',
'<a href="'.$q_item['url'].'">'.$q_item['title'].'</a>',
// add closed note in title
empty($q_item['closed']['state']) ? '' : ' ['.$q_item['closed']['state'].']',
'</div>'
);
}
*/
public function q_item_title($q_item)
{
$this->output('<div class="qa-q-item-title">');
$this->output('<a href="'.$q_item['url'].'">');
$this->output(empty($q_item['closed']['state']) ? '' : '[Solved] ');
$this->output($q_item['title']);
$this->output('</a>');
$this->output('</div>');
}
Reference:
http://docs.question2answer.org/plugins/layers/
The above logic is a way to display fixed English text ("[Solved] "). Customizing language files is even better.
http://docs.question2answer.org/translate/
Refer to "Customizing selected URLs or phrases".
qa-lang/custom/qa-lang-main.php
For example, 'closed' => 'Solved'