Add date information in CoursePress course details

User is wondering if it's possible to replace the "Average" text and add a date below that or a different custom text. Image attached.

Looking for orientation on where to change that.

  • Predrag Dubajic

    Hi Jonathan,

    "Average" text is part of the translation files so that can be easily changed via those or by using Text Change module from our Ultimate Branding plugin.

    Content of that column on other hand is not changeable that way and would require custom coding and changing plugin core files.
    The file responsible for that table is this one:
    /wp-content/plugins/coursepress/2.0/include/coursepress/template/class-course.php

    But note that changes made to that file will be overwritten with plugin update and you will need to re-apply the changes each time.

    Other solution would be is to create new shortcode based on the current shortcode for dashboard page that can be found here:
    /wp-content/plugins/coursepress/2.0/include/coursepress/data/shortcode/class-template.php
    It will probably require some extra work but it will be better solution in order to keep the changes.

    Best regards,
    Predrag

  • Sohag Ronjon Dey

    Hi Jonathan,

    Thanks for your reply and I hope that you are having a beautiful day. :slight_smile:

    I believe that this can be done by either of the ways mentioned by my colleague Predrag Dubajic above. For this I will recommend advertising for a developer who might be able to custom code this for you.

    https://premium.wpmudev.org/jobs/new-job/

    Please keep in mind, developers found in our Jobs Section are not associated with us. So communicate with them well regarding your issue before you make any payments to them.

    Please let us know,

    Cheers,
    Sohag.