How can I alter the price of course to reflect 10 classes/$100?

I want to alter the page that states the price of course as well as the number of lessons, or length of lesson. Is this possible?

  • Tyler Postle
    • CGO

    Hey there Errington,

    Hope you're doing well today!

    Are you wanting to do that for every course? Then you can change it in the template and add that into the course_cost shortcode label.

    The template you would want to edit is content-course-overview.php located:

    /wp-content/plugins/coursepress/includes/templates/

    Then around line 89 you will see this:

    <?php echo do_shortcode( '[course_cost]' ); ?>

    Change it to something like:

    <?php echo do_shortcode( '[course_cost label="10 classes /"]' ); ?>

    This will replace the "Price: " label; however, I think that is a given anyway in this case so you might prefer it to say 10 classes/$100 instead.

    If this is varying per course, then you will need further custom development - something you may want to post on our jobs board: https://premium.wpmudev.org/wordpress-development/

    Then you can work with a talented member of the community on getting that developed to suit your needs :slight_smile:

    Hope this helps! Let us know if you have any further questions here.

    All the best,
    Tyler

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.