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


function q_view_buttons($q_view) {

$shareUrl = qa_q_path($this->content['q_view']['raw']['postid'], $this->content['q_view']['raw']['title'], true);

$shareUrlKT = qa_opt('site_url').$this->content['q_view']['raw']['postid'];

$shareUrlEnc = urlencode($shareUrl);


<div class="sharebox">

<p>Know someone who can answer this question ? Share this on <a href="https://www.facebook.com/sharer.php?u='.$shareUrlEnc.'" target="_blank" rel="external nofollow">Facebook</a>,

<a href="https://www.twitter.com/share?url='.$shareUrlEnc.'" target="_blank" rel="external nofollow">Twitter</a>,

<a href="whatsapp://send?text='.$shareUrlEnc.'" target="_blank" rel="external nofollow">Whatsapp</a></p>


// default method call



closed with the note: Too Broad
Cmon now Zeeshan, you've been frequenting this site for a while now. You should know better than this.

Your question is too broad. Provide more information. I don't think this is even considered a question as it is, right now. You're just saying "check this code," Are we suppose to look at it and move on? What are we checking it for? The question needs more explanation.