Viewing 2 replies - 1 through 2 (of 2 total)
  • BUMP

    Until this is solved you can install the plugin Advanced Custom Fields, add a custom field Course Video URL and add it to the Course post type edit page.

    Then in your code (e.g. functions.php) you can access this field like so:

    function course_summary() {
        global $post;
        echo '<pre>'; the_field( 'course_video', $post->ID ); echo '</pre>';
    }
    add_action( 'learn-press/single-course-summary', 'course_summary' );

    Hope that helps.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Course Featured Video’ is closed to new replies.