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

    (@designwall)

    Hi,
    At the moment, you can use the custom sidebar option for all page of the plugin. However, you can use the new template file to insert the sidebar that you want.
    you can copy the code of the:

    'page.php',
    'single-dwqa-question',
    'single.php',
    'index.php',

    Then paste into your new file then customize all the page, you can remove or insert the sidebar.
    Note: You need to change the file name in the Template.php file find line 685.
    Regards,
    Dominic from DesignWall team.

    Plugin Author DesignWall

    (@designwall)

    Hi Hos4m,

    How’s everything? Does DW Question & Answer look good on your site?
    If you encounter any problem, please do not hesitate to get back to us. We’re here to help you.

    Plugin Author DesignWall

    (@designwall)

    Hey there,

    DW Question & Answer 1.4.4 has been released. Please keep updating and send us your precious feedback about it.

    Looking forward to hearing from you.

    this time my question is related to this, so I thought to post here. if you believe I should have created a new thread, please let me know.

    plugin single question page is not using single.php what I was expecting so it can not be overridden by single-dw-question.php template. instead it is using page.php !!!! why I have no idea, but I would like to know why it is so ? and I am already searching where it is specified, so please let me know how I can override it with my child theme template.
    I want to add sidebar to it.

    Note: I am already using my single-question.php, content-single-question.php and content-single-answer.php from my plugin extension.

    Update: May be it is because inside page.php you are using single-question.php .then I would like to override page.php with question.php in my child theme .

    I think I can do it with ‘dwqa_after_single_question’ hook, I am trying to achieve it with out overriding thee template, but please let me know if it is possible to override the page.php only for single-question page.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom sidebar for the plugin pages’ is closed to new replies.