Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
584 views
in Themes by
edited by
"asked by username" and "answered by username"
How to hide ?

1 Answer

0 votes
by
selected by
 
Best answer

To do that you have to modify your theme with the code below:

public function post_meta_who($post, $class)

{

if ($this->template == 'qa') return; //hide who posted in question list only

if (isset($post['who'])) {

$this->output('<span class="' . $class . '-who">');

if (strlen(@$post['who']['prefix']))

$this->output('<span class="' . $class . '-who-pad">' . $post['who']['prefix'] . '</span>');

if (isset($post['who']['data']))

$this->output('<span class="' . $class . '-who-data">' . $post['who']['data'] . '</span>');

if (isset($post['who']['title']))

$this->output('<span class="' . $class . '-who-title">' . $post['who']['title'] . '</span>');

if (isset($post['who']['points'])) {

$post['who']['points']['prefix'] = '(' . $post['who']['points']['prefix'];

$post['who']['points']['suffix'] .= ')';

$this->output_split($post['who']['points'], $class . '-who-points');

}

if (strlen(@$post['who']['suffix']))

$this->output('<span class="' . $class . '-who-pad">' . $post['who']['suffix'] . '</span>');

$this->output('</span>');

}

}

Go to your default theme directory and paste the code above in the qa-theme.php file. Good luck with that!

by
Thanks man.....
by
if it solved your problem do select my answer
...