Viewing 5 replies - 1 through 5 (of 5 total)
  • Any luck with this Colin?

    I have been experiencing the same problem.

    Thread Starter colinmcgray

    (@colinmcgray)

    No, sorry, still having the same problem!

    Surprised Hugh hasn’t got back.. he’s usually pretty prompt.

    I got some help from a friend using add_filter but I haven’t gotten the complete solutions yet. Also, I don’t like messing with functions if I can help it. Cause I’ll forget what I did and update something and it will break. 🙂

    What I have so far –

    add_filter( ‘the_title’, function(){
    if( is_feed() && 255 <= strlen( $title ) ) {
    $title = substr( $title, 0, 252 ) . ‘…’;
    }
    return $title;
    } );

    Yeah. Ignore all that jazz I posted. That is only good for the titles. I do not see a way to add_filter to <itunes:subtitle> which is what we are wanting to shorten.

    I think Hugh is busy doing some cool stuff:

    http://www.hughlashbrooke.com/complete-versatile-options-page-class-wordpress-plugin/

    also, I was able to ugly fix my problem.

    I changed Line 288 in wp-content/plugins/seriously-simple-podcasting/templates/feed-podcast.php

    From This:
    <itunes:subtitle><?php echo $itunes_excerpt; ?></itunes:subtitle>

    To This:
    <itunes:subtitle><?php echo $subtitle; ?></itunes:subtitle>

    Not sure what else this may break. But it worked for my case. For now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Subtitle Too Long’ is closed to new replies.