Hello:
Although I have a course template that should not show the no of students enrolled, it still show up in widgets and blocks.
How can I have the no. of students not be seen except by admin (or no one)
see ex.
https://pdhsource.com/webinars-schedule/
see the widget on right side:
https://pdhsource.com/course/retaining-walls-and-excavation-support-systems/
I have this code pasted in customize,
.single-course #buddypress div#item-header div#item-meta .students{display:none !important;}
Thank You
This reply has been marked as private.
Hello
Yes that code works to hide the no. of student in the course meta. you can show fake no. of students enrolled in a course by going through the course edit in backend and refer this setting
http://prntscr.com/mn104f.
for another question the answer is:
Please goto
wp-admin > lms > settings > course setting > add items from here.
Refer:
http://prntscr.com/mn11hh
Logan:
Thank You.
I don't want to show the no. of students, the code does not work in widgets or blocks, please see the two examples:
https://pdhsource.com/webinars-schedule/
https://pdhsource.com/course/retaining-walls-and-excavation-support-systems/
Hello,
This could be hidden only with the css.
Refer:
http://prntscr.com/mnlcxj
Change the block style from
wp-admin > wplms > course manager > change the block from here : http://prntscr.com/mnlfi6
Else i can share the custom code to hide these elements.
Logan:
Thank You
I tried to change block from course manager, no difference, nothing chagned.
Can you send the code to hide the no of students.
Thank You very nuch
Hi
Please add the below custom css code to
Wp-admin > Appearance > Customization > Custom Css > Publish
.block.courseitem .block_content .instructor_course+strong{
display:none !important;
}
Works Fine
Thank You
Topic can be closed.
Hey There,
Voila ! If I can be of assistance, please do not hesitate to contact me again.
Closing this topic.
Best regards :)