I have no yet done a plugin conflict test, but I can.
As far as customization, I have only edited class.shortcodes.php. I do not believe the minor adjustments, related to the dashboard, have any bearing on this.
The issue started the yesterday when we updated the CoursePress Pro plugin. The aforementioned customization was done after the update.
Is there a way we can force people to create an account using CoursePress' login instead of MarketPress' login? We don't want people to use the "Guest" option on MarketPress; we want no guests because our products are only courses.
Hello. You may close this ticket, as I have made the necessary customization.
I edited class.shortcodes.php near line #2561 from:
'data-link' => esc_url( get_permalink( $course_id ) ),
'data-link' => esc_url( trailingslashit( get_permalink( $course_id ) ) . trailingslashit( CoursePress::instance()->get_units_slug() ) ),
This generated each enrolled course as normal, but instead of pointing to the course details page, it now points to the course's units page.
Incidentally, I also changed the details_text variable, since it was nearby, near line #2403:
'details_text' => __( 'Details', 'cp' ),
'details_text' => __( 'View Exercises', 'cp' ),
Thanks for the prompt reply!
As a programmer, I will be willing to open up the appropriate PHP file(s) that generates the links to these buttons. Can you point me which file(s) generate the course list within the dashboard and the template file that displays the course overview?
Thank you!! This almost seals everything!
Just so I'm clear, the archive-courses-single.php file generates ALL courses and entirely controls the /courses page, or does it generate a single course that is called in a loop in some other php file?