M T
asked 10 years ago

Hi,
When I installed DW QandA it had the pages for questions and answers set up. But when I clicked on a question I was redirected to a 404. Why is that?
Also, I need the Questions and Answers to fit with Genesis theme, but it’s not fitting (it needs the whole page, and even if I change the page to a full width it doesn’t change now).
Cheers,

1 Answers
DominicStaff
answered 10 years ago

Hi M T, Don’t worry, that isn’t bug.
Simply go to your Dashboard > Settings > Permalink, just click on Save Changes button, it will update your permalink settings and remove 404 error in DWQA page
– To integrate  the Questions and Answers page with Genesis theme, please find here for the document guide on how to create 2 file: content-start-wrapper.php, content-end-wrapper.php.
URL: http://cmspioneer.com/designwall/guide/dw-question-answer-plugin/#Style_integration
– Add the following code to the content-start-wrapper.php file.

<div class="content-sidebar-wrap">
<main class="content" role="main" itemprop="mainContentOfPage" itemscope="itemscope" itemtype="http://schema.org/Blog">
        <?php if( is_page() || is_archive() ) { ?>
        <header class="entry-header">
            <h1 class="entry-title"><?php _e( 'Question & Answer', 'dw-focus' ); ?></h1>
        </header>
        <?php } ?>

– Add the following code to the content-end-wrapper.php file:

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

Hope this helps !

Powered by DW Question & Answer Pro