Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
in Q2A Core by
Is there a way to add custom content in the sidebar?

I want to add some buttons images and html content. I am looking for something like Wordpress Widgets that lets someone add a blank box and write there whatever one want.

Is there a plugin for that ?



2 Answers

–1 vote
Yes, you can add custom content in sidebar. check it in admin panel.
I need to add 4.

One at the top.
The second one after the activity
The third one after the categories
The fourth at the very bottom.

Each of them with custom HTML.

Where in admin I can add and arrange them ?
then you need to modify theme.
+1 vote

You can make a theme, and override the sidepanel() function in qa-theme.php.

On my website I did this, adding the code below to qa-theme.php



function sidepanel()
$this->output('<div class="qa-sidepanel">');
$this->output('<br><div style="background:url('.$this->rooturl.'welcome1.png) no-repeat;width:176px;height:72px;"></div>');
$this->output('<br><a href="/about"><img title="About" src="'.$this->rooturl.'welcome2.png"></a>');
$this->output('<br><div style="background:url('.$this->rooturl.'welcome3.png) no-repeat;width:176px;height:136px;"></div>');
$this->output('<br><a href="/ask"><img title="New thread" src="'.$this->rooturl.'welcome4.png"></a>');
$this->widgets('side', 'top');
$this->widgets('side', 'high');
$this->nav('cat', 1);
$this->widgets('side', 'low');
$this->widgets('side', 'bottom');
$this->output('</div>', '');
Gotta tell ya! your website is the most fun looking q2a I ever saw, where did you get the drawings?
Oh I make them myself, thanks a lot for the compliment!!!
Wow! you have quite an artistic flair. Good for you man