WordPress.org

Support

Support » Plugins and Hacks » mb.miniAudioPlayer - an HTML5 audio player for your mp3 files » [Resolved] Exclude links from more than 1 class / multiple classes

[Resolved] Exclude links from more than 1 class / multiple classes

  • Great plugin!

    My theme has 2 classes built in for linking to MP3. I would like to keep both of them in original (theme) layout. Therefore I need to exlude these 2 classes: “single-icon” and “risen-icon-label”

    Problem is that I can’t figure out how to add both classes to the exclusions field. If I only put in one class, it works, if i put both, the player is not rendered at all, only a text link is displayed.

    What would be the exact syntax to exclude two or more classes?

    http://wordpress.org/extend/plugins/wp-miniaudioplayer/

Viewing 1 replies (of 1 total)
  • Nevermind the question, I figured it out.

    In my theme, I added the class map_excluded in the places where there is a link to a MP3. For example:

    class=”single-icon map_excluded”

    Then put in mb.miniAudioPlayer Settings > Exclude audio links with class:

    map_excluded

    That’s all. Great plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Exclude links from more than 1 class / multiple classes’ is closed to new replies.
Skip to toolbar