Hi Dom / BigHug,
I need to remove the category reference in questions list. ( the header class where it has: category: “Link”). I only want users to filter using the filter bar.
Thanks for your help! I really appreciate it 🙂
1 Answers
To resolve this issue, you can do as the following:
1. Open the content-question.php file in the folder path “wp-content\plugins\dw-question-answer\inc\templates\default”. Find the line 16.
Replace the following code:
<?php echo get_the_term_list( $post_id, 'dwqa-question_category', ' <strong>⋅</strong> <span>Category: ', ', ', '</span>' ); ?>Â Â Â
With new Code:
<?php echo get_the_term_list( $post_id, 'dwqa-question_category', ' <strong>⋅</strong> <span class="dwqa-category">Category: ', ', ', '</span>' ); ?>Â Â Â
2. Add the following code to the style.css file
.dwqa-list-question .dwqa-meta .dwqa-category {
   cursor: default;
   pointer-events: none;
}
Regards,
Â
Please login or Register to submit your answer
replied 10 years ago
Actually, I just need to remove the link reference. I still want to display what the category is within the header but no link.