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

I would like to add additional buttons on the question list page (under each question).similar to Facebook/LinkedIn (vote, reply, share). 

1 Answer

+1 vote
by

You need to copy the list item function from the theme-base and copy it to your current theme.

Theme-base file location: qa\qa-include\qa-theme-base.php
Your theme file location: qa\qa-theme\SnowFlat\qa-theme.php

The function you need to copy:

public function q_list_item($q_item)
{
$this->output('<div class="qa-q-list-item' . rtrim(' ' . @$q_item['classes']) . '" ' . @$q_item['tags'] . '>');
$this->q_item_stats($q_item);
$this->q_item_main($q_item);
$this->q_item_clear();

// ADD YOUR BUTTONS HERE

$this->output('</div> <!-- END qa-q-list-item -->', '');

}

...