jan sun
asked 10 years ago

hi , i am using dw q&a plugin but i dont erase category,meta,archive,page area etc  please help me  

3 Answers
well wisher
answered 10 years ago

Hi Jan sun please do read this style integration guide to resolve your issue with page http://cmspioneer.com/designwall/guide/dw-question-answer-plugin/#Style_integration

jan sun
replied 10 years ago

hi thanks for support.

But i am look at my themes page.php and i don’t see

‘ ) ); ?>

my theme page.php look like below

* @package WordPress
* @subpackage Anivia Theme
* @author Shindiri Studio (http://www.shindiristudio.com) & http://www.mihajlovicnenad.com/

global $anivia_data;
if ( $anivia_data[‘sidebar-blog’] == 1 ) $blog_class = ‘anivia_column anivia-2-3’; else $blog_class = ‘anivia_column margin-left30’;


else :
_e(‘No posts’,’anivia’);

now what can i do ? please help us ..

well wisher
answered 10 years ago

just dont worry bout the difference and think about the structure,where the content is enteringlike in your case it is dynamically setting the “blog class” if sidebar is on its ‘anivia_column anivia-2-3’ else its ‘anivia_column margin-left30’ now you have to predecide whether you want sidebar or not and use the class respectively.

<div class=”anivia_container anivia_concon”>
<div id=”content” <?php post_class(); ?>”>

I am not sure how things are being set in your theme but you have to test different possibilities and then set and check them using trial methos or may be designwall staff could help you resolve your issue

jan sun
replied 10 years ago

thats ok. i understand..
but and if i dont want anvia theme this page ( only question page ) is it possible ? or maybe you know other way ? because I do not know much about codes..

jan sun
replied 10 years ago

and i dont want sidebar in question answer page. but i need sidebar in other theme page. if its possible please share your way.

answered 10 years ago

Hi Jan Sun,
We have a document here to guide you how to integrate DWQA with your theme http://designwall.com/guide/dw-question-answer-plugin/#Style_integration.
In your case, please go to your theme folder, make a folder and named it as dwqa-templates then add two files content-start-wrapper.php and content-end-wrapper.php with the following code :

file content-start-wrapper.php:

global $anivia_data;
if ( $anivia_data['sidebar-blog'] == 1 ) 
    $blog_class = 'anivia_column anivia-2-3'; 
    $blog_class = 'anivia_column margin-left30';
<div class="anivia_container anivia_concon">
    <div id="content" <?php post_class(); ?>">

And content-end-wrapper.php

</div><!-- container -->

Because your sidebar was put on footer so if you want to remove it, you need to go to footer.php and edit this file. If you still need help from us, you can give us an admin account through a private answer here ( just you and we can see it ) then we will make your q&a page look properly.

Powered by DW Question & Answer Pro