Pelayo de Salvador
asked 5 years ago

Is it possible to disable tags in DWQA, so questions are only classified by category?
Thanks a lot.

3 Answers
DominicStaff
answered 5 years ago

Hi,
You can add the following code to the style.css file to remove the Tags in DW Q&A:

.dwqa-single-question .dwqa-question .dwqa-tags {display: none;}

Also, if you want to remove the tags section in the Ask question page, you can add the following code to the style.css file:

.dwqa-submit-question .question-meta .input-tag {display: none;}

Hope this helps !

pelayo
replied 5 years ago

Great! Thanks a lot.
I’d also need some help with customization, so it matches the style of my web. Could you send me a Budget?
I’ve already done full translation into spanish (current translation didn’t work very well)

dominic Staff
replied 5 years ago

You can tell me detail about this issue, send me a screenshot for further checking.

rtra
answered 2 years ago

These dont work anymore, as there’s no class defined for that paragraph (?) A developer colleague of mine has managed to hide the tags box and ‘tags’ heading on the ‘Post a question’ page using the following css entry though:
input[name=’question-tag’]{
display: none;
}
 
label[for=’question-tag’]{
display: none;
}

Dominic Staff
replied 1 year ago

Thank for your help. We appreciate it.

Pedroptz
answered 3 months ago

Hello, is that code still working? Where should I paste it on the style.css file?

Dominic Staff
replied 3 months ago

You can add this code to the Dashboard > Appearance > Editor > style.css file or Dashboard > Customize > Additional CSS

Pedroptz
replied 3 months ago

Yes. But it seems like the code mentioned above is incorrect.

This is what worked for me:

input[name=”question-tag”]{
display: none;
}

label[for=”question-category”]{
display: none;
}

label[for=”question-tag”]{
display: none;
}

select[name=”question-category”]{
display: none;
}

The question category is a “select”, not an input.

I understand nothing of coding but this seemed to work. Kind regards, Pedro

Pedroptz
replied 3 months ago

This disables the Tag AND Category on the ask a question. Sorry, forgot to mention it.

Dominic Staff
replied 3 months ago

If you want to remove the Tag and Category on the submit question page, you can open the submit-question-form.php file to remove it.

Powered by DW Question & Answer Pro