Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
478 views
in Q2A Core by

I can't seem to spot the file or function that decides which tags to add the favorite "qa-tag-link qa-tag-favorited" classes. I want to add another icon in addition to the start to some of the tags.

I know the star is added via css - I just need to know how and where the html is formed.

Any help would be appreciated.

 

Q2A version: 1.7

1 Answer

+1 vote
by
selected by
 
Best answer
Here it is: https://github.com/q2a/question2answer/blob/29cce8d2c5e3943a2d3242adf6f15217a6096b20/qa-include/app/format.php#L178

You can easily add different CSS classes depending on the tag.

There is a plugin that is supposed to do something like this here http://www.question2answer.org/qa/24331 but I haven't taken a close look at it (I just saw the screenshots).
...