Jump to content
Sign in to follow this  
danceyrselfclean_admin

Displaying audio player in post excerpts

Recommended Posts

danceyrselfclean_admin

Ive currently set my homepage to show post excerpts, however it does not show the audio players included in these posts. Whether its the wordpress audio player or the soundcloud player, nothing will show up.They show up perfectly in full post view. Any help would be greatly appreciated http://www.danceyrselfclean.com/

Share this post


Link to post
Share on other sites
cmunns

check your global blog and page settings...there is a field for "allowed tags" in the excerpt...you'd have to add whatever tags the audio relies on e.g. <script>,etc

Share this post


Link to post
Share on other sites
danceyrselfclean_admin

Ok thanks for the reply. Im a bit of a novice so where would i find my global blog and page settings.

Share this post


Link to post
Share on other sites
Kate

If you're using PlatformPro, it would be: Settings->Blog and Posts->Allow Tags in Excerpt.

Share this post


Link to post
Share on other sites
danceyrselfclean_admin

Thanks found it. The problem im having now is getting the right tags. The entire audio player code for one of my posts is [audio:http://www.danceyrselfclean.com/wp-content/uploads/2011/05/Bulletproof-Zinc-Remix.mp3|titles=Bulletproof - Zinc Remix] Im not quite sure how the tag would look in order to allow it in tag excerpts

Share this post


Link to post
Share on other sites
Kate

This is just a shot in the dark because I haven't tried it, but try adding "shortcode" (without the quotes) to the list. If that doesn't work, have a look at this page: http://wordpress.org/support/topic/shortcodes-dont-work-in-excerpts If you go the route of the latter solution, please keep in mind you'd want to modify functions.php inside of your Base folder.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×