Nize Stuff
asked 4 years ago

Rather than having the ask question page on its own and list question page on its own page, users would like to be able to type a new question while viewing a list of questions on the same page.

Hence I have used the short code [dwqa-list-questions] to create a section on the page to list and search for existing questions. I have also used [dwqa-submit-question-form] on another section on the same page to submit question. It works but the list question section displays a Ask A Question button which is attempting to point to the question submission form which in this case, is the same page.

Is there parameter or switch I can use on the above short code to remove the "Ask a question" button from the List Questions function since I have placed both the List Questions and Ask Question on the same page?

2 Answers
DominicStaff
answered 4 years ago

Hi,
To resolve this issue, you can add the following code to the style.css file:

.dwqa-list-question .archive-question-footer .dwqa-btn {
   display: none;
}
.dwqa-list-question .filter-bar .dwqa-btn {
   display: none;
}

Hope this helps !

nize_stuff
replied 4 years ago

It works perfectly. Thanks!!!

npearce05
replied 2 years ago

Hi, I am needing to do this for the exact same reason however this code is not working for me. Can you please let me know what I need to do.

Thanks,
Naomi

Dominic Staff
replied 2 years ago

Please send me your site url for further checking.

npearce05
replied 2 years ago

the page I’m needing this for is http://bbclub.com.au/online-food-coach/

I’ve tried adding it to the style sheet through c panel (in various lines), the custom css on the particular page as well as the sites global css.

Thanks for your help!

Dominic Staff
replied 2 years ago

You can use the following code to remove it:
.dwqa-questions-footer .dwqa-ask-question { display: none;}

npearce05
replied 2 years ago

Thanks so much, this worked!

romit92
replied 6 months ago

Same issue, Not working for me. i am using version 1.5.5

Dominic Staff
replied 6 months ago

Please send me your site URL for further checking.

DominicStaff
answered 2 years ago

Please let me know if you have any question & issue.

Powered by DW Question & Answer Pro