• Resolved dpipitone

    (@dpipitone)


    Hello!

    I am attempting to setup the structure for TWO podcasts (Audio / Video):

    1. Audio Edition: https://spottedpeccary.com/musicisart/audio/
    2. Video Edition: https://spottedpeccary.com/musicisart/video/

    The structure seems correct, although whichever episode clicked on seems to send users to the same permalink structure, using “…/podcast/2/” rather than “…/musicisart/audio/2” for example. ALL episodes from BOTH podcasts have the same slug / permalink structure.

    Is there a way to configure a permalink structure that keeps all episode links relative to their respective podcasts.

    In the default format, it seems to imply that both the Audio and Video podcasts are one in the same podcast, when they are in fact different.

    Thanks in advance.

    Daniel

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter dpipitone

    (@dpipitone)

    Plugin Author Serhiy Zakharchenko

    (@zahardoc)

    Hi @dpipitone,

    You can try registering 2 custom post types – Audio and Video, and making them supported by Seriously Simple Podcasting in Podcasting -> Settings -> General -> Podcast post types.

    So, first register the custom post type:

    add_action( 'init', function(){
    register_post_type( 'audio', array(
    'labels' => array(
    'name' => _x( 'Audio', 'post type general name', 'seriously-simple-podcasting' ),
    'singular_name' => _x( 'Audio', 'post type singular name', 'seriously-simple-podcasting' ),
    'add_new' => __( 'Add New Audio', 'seriously-simple-podcasting' ),
    'add_new_item' => __( 'Add New Audio', 'seriously-simple-podcasting' ),
    'edit_item' => __( 'Edit Audio', 'seriously-simple-podcasting' ),
    'new_item' => __( 'New Audio', 'seriously-simple-podcasting' ),
    ),
    'public' => true,
    'publicly_queryable' => true,
    'exclude_from_search' => false,
    'show_ui' => true,
    'show_in_menu' => true,
    'show_in_nav_menus' => true,
    'query_var' => true,
    'can_export' => true,
    'rewrite' => array( 'slug' => 'musicisart/audio' ),
    'capability_type' => 'post',
    'has_archive' => true,
    'hierarchical' => false,
    'supports' => array(
    'title',
    'editor',
    'excerpt',
    'thumbnail',
    'page-attributes',
    'comments',
    'author',
    'custom-fields',
    'publicize',
    ),
    'menu_position' => 5,
    'menu_icon' => 'dashicons-microphone',
    'show_in_rest' => true,
    ) );
    });

    Then make this post type supported by SSP in Podcasting -> Settings -> General -> Podcast post types.

    Then make another post type for your Video episodes.

    Hope this helps,
    Serhiy.

    Thread Starter dpipitone

    (@dpipitone)

    Serhiy,

    Thanks for your help. I used Custom Fields Pro to create custom post types for Audio and Video and it helps with the organization, for sure, but the permalink structure is still not right.

    As you can see, you can now view distinct pages for “audio” and “video” but when you click an episode, it flattens the permalink as if it’s at the root directory:
    https://spottedpeccary.com/podcasts/audio/
    https://spottedpeccary.com/podcasts/video/

    When you click the episode, you’ll see they resolve to:
    https://spottedpeccary.com/audio/40/ and https://spottedpeccary.com/video/40/ respectively.

    What I am after is:
    Archive page:
    https://spottedpeccary.com/podcasts/audio/
    Episode Links to > https://spottedpeccary.com/podcasts/audio/40/

    (Same for Video)

    Plugin Author Serhiy Zakharchenko

    (@zahardoc)

    Hi @dpipitone,

    Probably you will need some programming skills to achieve this result. Unfortunately, this falls outside the scope of the plugin’s support. I would recommend hiring a developer to assist with this.

    Best regards,
    Serhiy.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.