WordPress.org

Ready to get started?Download WordPress

Forums

mb.miniAudioPlayer - an HTML5 audio player for your mp3 files
[resolved] Exclude links from more than 1 class / multiple classes (2 posts)

  1. WebMan88
    Member
    Posted 1 year ago #

    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/

  2. WebMan88
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic