Title: code loading when not needed
Last modified: August 27, 2017

---

# code loading when not needed

 *  [mesmer7](https://wordpress.org/support/users/mesmer7/)
 * (@mesmer7)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/code-loading-when-not-needed/)
 * Two questions:
 * The code for the audio player loads on every page, even pages where it’s not 
   needed. How do I configure the player to only load the code and style sheets 
   with pages that actually have audio players?
 * Also, I can’t find the setting to activate the mb.miniAudioPlayer button in the
   post editor, where is it?

The topic ‘code loading when not needed’ is closed to new replies.

 * ![](https://ps.w.org/wp-miniaudioplayer/assets/icon.svg?rev=983692)
 * [mb.miniAudioPlayer - an HTML5 audio player for your mp3 files](https://wordpress.org/plugins/wp-miniaudioplayer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-miniaudioplayer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-miniaudioplayer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-miniaudioplayer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-miniaudioplayer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-miniaudioplayer/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mesmer7](https://wordpress.org/support/users/mesmer7/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/code-loading-when-not-needed/)
 * Status: not resolved