Password protecting podcast feed for custom post type
-
I’ve created a new podcast feed for a custom post type using the “Post Type Podcasting” feature. I want this feed to password protected so that only a certain user can access the feed. But when I fill out the option for password protection in the feed’s “Other” settings tab, it doesn’t actually add any protection.
You can find the podcast feed here: [ redundant link removed ]
and here’s a screenshot of the Password Protect settings: https://www.dropbox.com/s/rxd0rifes9b9wnd/Screenshot%202020-07-21%2010.57.32.png?dl=0
I did wonder if maybe this password protection functionality actually only works with Podcast Channels (though the actual documentation doesn’t seem to make that clear). So I tried to set this up via the Podcast Channels functionality by creating a new podcast Channel feed that only applies to this specific custom post type. I tried this however when I created the new Podcast Channel feed it won’t display a Podcast Episode media box on the individual posts so I can’t add a media URL for the individual posts and get them to show up in this new Podcast Channel feed. (This may be that you can have Podcast Channels set up for custom post types while also using the Post Type Podcasting feature, perhaps?)
Anyways, what am I missing? From the documentation and available settings this seems like it should work but I can’t figure out why it isn’t.
If it’s helpful, here’s my php that registers this custom post type. Perhaps I’m missing some setting here that is throwing this feature off.
$args = array( 'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', 'author', ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-star-filled', 'show_in_admin_bar' => true, 'show_in_nav_menus' => true, 'can_export' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'capability_type' => 'post', 'taxonomies' => array('post_tag'), ); register_post_type( 'wellspring', array_merge( $args, array( 'has_archive' => __('all-wellsprings'), 'label' => __( 'Wellsprings', 'GBC' ), 'labels' => array( 'name' => _x( 'Wellsprings', 'Post Type General Name', 'gbc' ), 'singular_name' => _x( 'Wellspring', 'Post Type Singular Name', 'gbc' ), ) ) ) ); register_post_type( 'build', array_merge( $args, array( 'has_archive' => __('all-builds'), 'label' => __( 'BUILDs', 'GBC' ), 'labels' => array( 'name' => _x( 'BUILDs', 'Post Type General Name', 'gbc' ), 'singular_name' => _x( 'BUILD', 'Post Type Singular Name', 'gbc' ), ) ) ) ); register_post_type( 'equipping-hour', array_merge( $args, array( 'has_archive' => __('all-equippinghours'), 'label' => __( 'Equipping Hours', 'GBC' ), 'labels' => array( 'name' => _x( 'Equipping Hours', 'Post Type General Name', 'gbc' ), 'singular_name' => _x( 'Equipping Hour', 'Post Type Singular Name', 'gbc' ), ) /* 'rewrite' => array( 'slug' => 'equipping-hour' )*/ ) ) ); register_post_type( 'digging-deeper', array_merge( $args, array( 'has_archive' => __('all-diggingdeeper'), 'label' => __( 'Digging Deeper', 'GBC' ), 'labels' => array( 'name' => _x( 'Digging Deepers', 'Post Type General Name', 'gbc' ), 'singular_name' => _x( 'Digging Deeper', 'Post Type Singular Name', 'gbc' ), ) ) ) ); register_post_type( 'shepherdology', array_merge( $args, array( 'has_archive' => __('all-shepherdology'), 'label' => __( 'Shepherdology', 'GBC' ), 'labels' => array( 'name' => _x( 'Shepherdologys', 'Post Type General Name', 'gbc' ), 'singular_name' => _x( 'Shepherdology', 'Post Type Singular Name', 'gbc' ), ) ) ) ); register_post_type( 'thetrust', array_merge( $args, array( 'has_archive' => __('all-thetrust'), 'label' => __( 'theTrust', 'GBC' ), 'labels' => array( 'name' => _x( 'theTrusts', 'Post Type General Name', 'gbc' ), 'singular_name' => _x( 'theTrust', 'Post Type Singular Name', 'gbc' ), ) ) ) ); register_post_type( 'smallgroup-message', array_merge( $args, array( 'has_archive' => __('all-smallgroupmessage'), 'label' => __( 'Smallgroup Messages', 'GBC' ), 'labels' => array( 'name' => _x( 'Smallgroup Messages', 'Post Type General Name', 'gbc' ), 'singular_name' => _x( 'Smallgroup Message', 'Post Type Singular Name', 'gbc' ), ) ) ) ); register_post_type( 'student-ministry', array_merge( $args, array( 'has_archive' => __('all-studentministry'), 'label' => __( 'Student Ministries', 'GBC' ), 'labels' => array( 'name' => _x( 'Student Ministries', 'Post Type General Name', 'gbc' ), 'singular_name' => _x( 'Student Ministry', 'Post Type Singular Name', 'gbc' ), ) ) ) ); register_post_type( 'young-adults-414', array_merge( $args, array( 'has_archive' => __('all-youngadults414'), 'label' => __( 'Young Adults (414)', 'GBC' ), 'labels' => array( 'name' => _x( 'Young Adults (414)s', 'Post Type General Name', 'gbc' ), 'singular_name' => _x( 'Young Adults (414)', 'Post Type Singular Name', 'gbc' ), ) ) ) ); register_post_type( 'special-event', array_merge( $args, array( 'has_archive' => __('all-specialevents'), 'label' => __( 'Special Events', 'GBC' ), 'labels' => array( 'name' => _x( 'Special Events', 'Post Type General Name', 'gbc' ), 'singular_name' => _x( 'Special Event', 'Post Type Singular Name', 'gbc' ), ) ) ) );
The page I need help with: [log in to see the link]
- The topic ‘Password protecting podcast feed for custom post type’ is closed to new replies.