simoptimtheme
asked 9 years ago

Hello,
 
im using the DW Minion theme with the Question & Answer plugin.
The Minion theme uses a secondary sidebar on the right side. But when im  on the question side
of the Question & answer plugin, i cant see this sidebar.
Is it possible to activate the right sidebar on all “Question & Answer” sites.. and how?
 
Greetings

1 Answers
DominicStaff
answered 9 years ago

when you use the Q&A plugin on the DW Minion, If you want to display the secondary on all “Question & Answer” sites, You can open the content-start-wrapper.php file in the folder path “themes/dw-minion/dwqa-templates”, Remove the older code in the file then add the following code:

 
<div id="primary" class="content-area">
 <div class="primary-inner">
  <div id="content" class="site-content" role="main">
   <?php if( is_page() || is_archive() ) { ?>
   <header class="page-header">
    <h1 class="page-title"><?php _e( 'Question & Answer', 'dw-minion' ); ?></h1>
   </header>
   <?php } ?>
   <div class="dwqa-container">

– You can open the content-end-wrapper.php file in the folder path “themes/dw-minion/dwqa-templates”, Remove the older code in the file then add the following code:

  </div>
  </div>
 </div>
</div>
<?php get_sidebar('secondary'); ?>

Hope this helps !

simoptimtheme
replied 9 years ago

Thanks Dominic. It worked for me. 🙂

Powered by DW Question & Answer Pro