Thanks for the help. I was trying to find a workaround and indeed found the get_post_type() function, and so the code became:

if ( get_post_type() == 'video' )
        $videos .= '
<li><a href="'. get_permalink() .'" title="'. get_the_title() .'">'. remove_movie_title( get_the_title() ) .'</a></li>';

Thanks for your help! Although I don't understand why my old code stopped working with the RC versions. :)
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to