Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Prafulla Kumar Sahu

    (@prafulla)

    This solved the problem, please let me know if there is a better way.

    add_filter( 'dwqa-load-template', function( $template, $name = 'single-question' ){
      if ( DWQA_DIR . 'templates/'.$name.'.php' == $template ){
        return  MY_PLUGIN_DIR . '/dw-question-answer/single-question.php';
      }
      return $template;
    } );
    Plugin Author DesignWall

    (@designwall)

    Hi Prafulla Kumar Sahu,

    Thanks buddy. We do really appreciate your help.

    If there is any more issue with the DW Question & Answer, please do not hesitate to get back to us. It encourages us a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there any way to override single-question.php template ?’ is closed to new replies.