Podcast not found by post title (functions custom code)
-
The episode is not being found even though it uses the identical title as the FEED.
Only with one episode this is happening, other episodes with special characters are working normally.What can it be?
The title:
T04E01: Clube da Esquina - Milton Nascimento & L? Borges (1972)
I use this code to fetch the episode:
//PODCAST PLAYER ADD CUSTOM FIELD GET_THE_TITLE add_filter( 'podcast_player_shcode_display', function( $args ) { $id = get_the_ID(); if ( ! $id || ( 'https://www.omnycontent.com/d/playlist/0009b167-0e82-414e-91eb-aae8011fc66d/9b29ae9e-7123-4139-bb90-ac6a00dba4fe/597c0df8-2974-4321-9480-ac6a00dbc975/podcast.rss' !== $args['url'] ) ) { return $args; } $filterby = get_the_title(); $args['filterby'] = $filterby ? sanitize_text_field( $filterby ) : $args['filterby']; return $args; } );
The page I need help with: [log in to see the link]
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Podcast not found by post title (functions custom code)’ is closed to new replies.