aamir hussain
asked 6 years ago

If the no or answers are more than 15 or so it takes lot of time to load the page. How can we improve performance, And is there any feature of pagination for the answers in Single Question Page?
 
Also after upgrade to 1.3.0, I have lost the layout on single question page. How can I bring back the sidebar on this page?
 
Regards,
Aamir

2 Answers
DominicStaff
answered 6 years ago

– At the moment, DW Q&A plugin does not support pagination feature for the answers in Single Question Page, I think it’s good idea. We will discuss about this issue.
– Regarding Sidebar issue, you can send me your site (via private answer) for further checking.

aamir hussain
replied 6 years ago

Yes, there should also be the feature of pagination for the questions on user profile page.

aamir hussain
replied 6 years ago

Currently the site is under construction and its on my local system, everything was working perfect before updating to latest version, after upgrade my questions single page is showing full width instead of sidebar. Can you give me some hint on how can I resolve this issue of templating?

Dominic Staff
replied 6 years ago

You can send me username & password of your site (via private answer) for further checking.

aamir hussain
replied 6 years ago

Dominic, I told you that the site is not yet live and not accessible from outside world.

Dominic Staff
replied 6 years ago

Firstly, please find here for the document guide on how to integration plugin with your theme:
http://cmspioneer.com/designwall/guide/dw-question-answer-plugin/#Style_integration
If you still face there, you can tell me the title theme that you are using.

aamir hussain
replied 6 years ago

Dominic, thanks for the info, but I am already following these directions, Currently I am using 3Clicks wordpress theme, It was working fine before last upgrade.
Was there anything in the upgrade which may effect these templates?

DominicStaff
answered 6 years ago

Firstly, you can find the document guide and create 2 file: content-start-wrapper.php, content-end-wrapper.php.
– Add the following code to the content-start-wrapper.php file.

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

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

</div>
            </div>
            <div id="secondary" class="g1-sidebar widget-area" role="complementary">
                <?php get_sidebar('right'); ?>
            </div>
        </div>
    </div>
</div>

Hope this helps !

aamir hussain
replied 6 years ago

This is exactly what I was doing,
Its showing sidebar on Ask Question and Question Archive page, but on Single Question page it does not show any side bar.

Dominic Staff
replied 6 years ago

It’s hard to me to fix the problem for you right now. Please grant me to access your site to check exactly what’s happening in your site to help you out as soon as possible.

aamir2007
replied 5 years ago

The issue was resolved, thanks for your help

Powered by DW Question & Answer Pro