Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter angus20184

    (@angus20184)

    I wrote the following, however, nth appear

    function openradio_rss_enclosure() {
    if ( post_password_required() )
    return;

    foreach ( (array) get_post_custom() as $key => $val) {
    if ($key == ‘enclosure’) {
    foreach ( (array) $val as $enc ) {
    $enclosure = explode(“\n”, $enc);
    $openradiomp3 = explode(” . “, $enclosure[0]);
    echo $openradiomp3[2];
    }
    }
    }
    }

Viewing 1 replies (of 1 total)