Viewing 3 replies - 1 through 3 (of 3 total)
  • largbasket

    (@largbasket)

    Dear @luxworx 

    You can change the course slug with this code. First create a child theme then add this code to your child themes functions.php file.

    <?php function change_tutor_course_slug( $args, $post_type ) { if ( 'courses' === $post_type ) { $args['rewrite']['slug'] = 'new-courses'; // Change the slug to 'new-courses' } return $args; } add_filter( 'register_post_type_args', 'change_tutor_course_slug', 10, 2 ); ?>
    Thank you.

    It seems to me that this would be the function of the advanced setting, Course Archive Page. Supposedly this is where all the published courses live. What does this function do if not replace the default slug “courses”?

    Dear @curtisbingham

    Actually that settings for to select a specific page for the course list page. But it will not change the slug/link, I hope you understand.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Where to change courses slug’ is closed to new replies.