Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+6 votes
439 views
in Themes by

HI i want to remove the parenthesis from the posts count number as you can see at the image bellow. For example instead of (11.2k) to display 11.2k without the parenthesis. In the theme file qa-theme it generates the number of posts like that:

if (strlen(@$navlink['note'])) {

$this->output('<span class="qa-' . $class . '-note">' . $navlink['note'] . '</span>');

}

But cant see any parenthesis there !!

Thanks in advance.

Q2A version: 1.8.6

1 Answer

+1 vote
by

Just follow these steps:

 1. Edit file qa-theme/<your-theme>/qa-theme.php

 2. Turn these two lines into:

$search = array(' - <', '> - ', '(', ')');
$replace = array(' <', '> ', '', '');

That should be it!

by
Have the same problem. Work! Thanks.
...