Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author DesignWall

    (@designwall)

    Hi prinshaw,
    Thanks for your feedback. Since we receive many feedback regarding to the sidebar and Q&A widgets, we are working on an updated version in which we will include back to sidebar and some of the widgets for the sidebar like you mentioned: popular Q&A, recent Q&A and so on.
    Rambu

    Sidebar activate:

    wp-content\plugins\dw-question-answer\inc\templates\default

    Open: contend-end-wrapper

    If you don’t use the default 4 wp theme search this:

    default:
            echo '</div></div>';
            break;

    and replace:

    default:
            echo '</div>';
    	get_sidebars();
    	echo '</div>';
            break;

    Yes, Locky0019 is almost correct, except a little type:

    Find your content-end-wrapper.php file in:

    wp-content\plugins\dw-question-answer\inc\templates\default

    However, I would would follow the instructions on DesignWall’s guide and create the content-end-wrapper.php (or any other template file) in your theme-child and do your modification there; otherwise you will lose your modifications once the plugin is updated.

    The styling instructions can be found here:

    http://www.designwall.com/guide/dw-question-answer-plugin/#Style_integration

    Once you get your template file ready to go, you have to add:

    <?php get_sidebar(); ?>

    The code should be strategically added to the correct <div> and adding necessary classes or IDs in order to style correctly. Also make sure that in your WordPress backend you have your widget set to appear on the page Appearance > Widgets …

    So, basically, get_sidebar() template funtion will load any widget set in Appearance > Widgets for that page.

    Hope it helps someone out there….

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to add sidebar on DW Q&A page’ is closed to new replies.