We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bef74fc commit 48237ebCopy full SHA for 48237eb
inc/template-functions.php
@@ -39,6 +39,7 @@ function dwqa_generate_template_for_submit_question_page($template) {
39
}
40
add_filter( 'page_template', 'dwqa_generate_template_for_submit_question_page', 20 );
41
42
+
43
/**
44
* Override template path of comment form in singe page for question custom post type
45
* @param string $comment_template Template path
@@ -71,6 +72,8 @@ function dwqa_generate_template_for_questions_list_page($template) {
71
72
73
add_filter( 'taxonomy_template',
74
'dwqa_generate_template_for_questions_list_page', 20 );
75
+add_filter( 'archive_template',
76
+ 'dwqa_generate_template_for_questions_list_page', 20 );
77
78
* Print class for question detail container
79
*/
0 commit comments