• Good Day,

    I’m using EDUCON LMS Theme, I have noticed that the author and rating is not displaying on the homepage such as in the Tutorlms Live demo version on themeum.com, but it displays correctly on the course filter.

    Checking the google developer tools the classes: tutor-loop-rating-wrap and author-course-author is present and no CSS errors / or display: none;

    Everything in the backend is set correctly (not disabled)

    is it a theme related problem?

    Kind Regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter in_jail_out_soon

    (@md40men)

    in the course filter element inspector:

    <div class=”tutor-star-rating-group”> is present in the course filter – But not present on homepage listing.

    The same with “tutor-course-author”.

    the author and reviews displays correctly in the course filter

    Hello @md40men

    Please check the Course author, Course review, display instructor info settings in Tutor LMS > Settings > Course tab?

    You can share your site URL too to check. . Maybe there have been raised some plugin conflicts . .

    Thanks . .

    Thread Starter in_jail_out_soon

    (@md40men)

    Hi Nayeem,

    Hope you are doing well,

    I have added the following code to tutor/loop/footer.php – The author and reviews display correctly as well as update correctly.

    	                                    <a href="<?php echo esc_url($profile_url); ?>" class="tutor-course-author"><br><?php the_author();?></a>
                                            <?php $course_rating = tutor_utils()->get_course_rating();?>
                                            <div class="tutor-loop-rating-wrap <?php echo !$course_rating->rating_count ? 'no-rating' : ''; ?>">
                                                <?php tutor_utils()->star_rating_generator($course_rating->rating_avg);?>
                                                <span class="tutor-rating-count">
                                                    <?php
                                                    echo $course_rating->rating_avg;
                                                    echo '<i>(' . $course_rating->rating_count . ')</i>';
                                                    ?>
                                                </span>
                                            </div>  

    everything seems to work normally.

    Do you foresee any problems?

    Thread Starter in_jail_out_soon

    (@md40men)

    EDIT: I did check the Course author, Course review, display instructor info settings in Tutor LMS > Settings > Course tab. They were all set correctly, the only changes those made was in the course information page, but for some reason not in the footer of the course.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Ratings and author not displaying’ is closed to new replies.