Hi I added a Record button for recording in Quizz Question (Using 3rd party plugin)
watch this pic http://prntscr.com/k5i2pf But the issue is when student submit the quiz the button still showing on result.
Now i want to write a code If (it is result page then don’t show the record button) I am able to write in PHP using if Page URL is this /... but on the course URL is not charging so how to do it
Secondly as you could see in the picture the HTML is distributed in Result page (The question numbers are on one side and questions are on other )
Regards
A simple fix would be to hide it via CSS on results page. I need site link and WP admin details to suggest a fix for this.
This reply has been marked as private.
add this code in your customizer - custom CSS :
a#demo {
display: none;
}
Vibe It hides the button from everywhere
I want to show the button on Quiz Page
Please replace the previous css code with this one.
.question-template-default a#demo {
display: none;
}
Respected Mark, I want the complete opposite result! (It hides the button from Quiz page but i want to show it only on the Quiz Page).
The button will appear on the Quiz box so student will record the audio but "it did not appear on the result Page so he did not get confuse."
I am sorry, I seem to have misread the question,
Here's the fix :
.my-account.bp-user a#demo { display: none; }
I applied it in customizer and the issue is resolved
Yes it is removed from this result page https://prnt.sc/k6dqqo
But still showing on course-status page http://prntscr.com/k6dqtj
code updated :
.page-template-start-php a#demo,.my-account.bp-user a#demo { display: none; }
optionally you may also want to enable : WP admin - LMS - Settings - Show quiz results after completion