Title: Different post-theme based on linked mp3?
Last modified: August 19, 2016

---

# Different post-theme based on linked mp3?

 *  [cyphunk](https://wordpress.org/support/users/cyphunk/)
 * (@cyphunk)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/different-post-theme-based-on-linked-mp3/)
 * Does anyone know of a way to detect if a post has a linked mp3? I want to modify
   the entire layout for that post to include soundmanager2 control and play. I 
   could use the WPAudio plugin which scans the post for audio links and then adds
   the soundmanager2 control (class) inline but this does not give me the ability
   to change the look-feel of that post entry. Any ideas?
 * If there is no way to detect audio content in the theme then I’ll go hack the
   WPAudio filter as much as I can but it is a bit complicated because I want to
   also change some of the container classes and code for that entry, so I might
   need to walk the DOM and modify the post theme from inside WPAudio, which feels
   like an evil solution
 * thanks

The topic ‘Different post-theme based on linked mp3?’ is closed to new replies.

## Tags

 * [WPaudio](https://wordpress.org/support/topic-tag/wpaudio/)

 * 0 replies
 * 1 participant
 * Last reply from: [cyphunk](https://wordpress.org/support/users/cyphunk/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/different-post-theme-based-on-linked-mp3/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
