Title: Wocommerce
Last modified: August 31, 2016

---

# Wocommerce

 *  Resolved [salilou](https://wordpress.org/support/users/hkr/)
 * (@hkr)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wocommerce-1/)
 * hi again
    I want your dynamic player to appear at exact one page and no other
   this I solved by setting include page id in widget settings according to your
   hoot now I face the following problem: the player appears on the page which is
   defined as woocommerce shop main page I use woocommerce and x theme with fullwidth
   without sidebar wordpress, theme and all plugins are up to date thank you for
   your support
 * [https://wordpress.org/plugins/dynamic-audio-player-basic/](https://wordpress.org/plugins/dynamic-audio-player-basic/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [msalsas](https://wordpress.org/support/users/msalsas/)
 * (@msalsas)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wocommerce-1/#post-7191035)
 * Not sure, but could you try adding this page id to “excluded pages”? Also, there
   is a “show in home page” option. You may have this page as your home page…
 *  Thread Starter [salilou](https://wordpress.org/support/users/hkr/)
 * (@hkr)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wocommerce-1/#post-7191055)
 * I have already added the page id to “excluded pages”
    the shop main page is not
   the start page of the website
 *  Plugin Author [msalsas](https://wordpress.org/support/users/msalsas/)
 * (@msalsas)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wocommerce-1/#post-7191057)
 * I’ve tried to reproduce the error without success. Try this:
 * – Install [https://wordpress.org/plugins/reveal-ids-for-wp-admin-25/](https://wordpress.org/plugins/reveal-ids-for-wp-admin-25/)
   plugin and enable it.
 * – Go to “Pages” and check ID in “Screen options” (top right of the screen).
 * – Check the page ID for the “Cart” page, which is created by Woocommerce plugin
   and is supposed to be the Woocommerce main page.
 * – Go to Widgets section and open the Dynamic Audio Player dropdown menu.
 * – Put directly the ID number (without quotes) in “Exclude this pages…” and save.
 * – Check again your “Cart” page.
 *  Thread Starter [salilou](https://wordpress.org/support/users/hkr/)
 * (@hkr)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wocommerce-1/#post-7191058)
 * thank you, but I had already located the page id out of the link and added it
   to the “exclude this pages” field in the widget manager
    nevertheless I followed
   your steps – with the same result mh, what now? on your woocommerce installation
   the player doesn’t show on the shop main page? maybe it has to do with my general
   layout: I use fullwidth without sidebars an without widgets thanks again
 *  Plugin Author [msalsas](https://wordpress.org/support/users/msalsas/)
 * (@msalsas)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wocommerce-1/#post-7191059)
 * Well, I only can recommend you to hack into the plugin to see what is happening.
   Open dynamicplayer.php, go to line 135 and write these lines:
 *     ```
       echo 'is page?' . is_page(); // should be true
       echo 'is home?' . is_home(); // should be false
       echo 'is page with ID yourID?' . is_page(yourID); // should be true
       exit;
       ```
   
 * Then go to that page and see what is displayed.
 *  Thread Starter [salilou](https://wordpress.org/support/users/hkr/)
 * (@hkr)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wocommerce-1/#post-7191077)
 * thank you for the code
    I’ve integrated it and the result is the following: my
   shop main page shows: **is_page()=FALSE** and **is_page(72)=FALSE** I have tried
   the default shop main page (page “Shop”) instead of my custom page: the same 
   result I have tried a standard wordpress theme (Twenty Sixteen): the same result
 *  Plugin Author [msalsas](https://wordpress.org/support/users/msalsas/)
 * (@msalsas)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wocommerce-1/#post-7191078)
 * I’ve just updated a new version (2.3.0). Once updated, you can find a new option
   at widget section (_Show in shop page (only for Woocommerce plugin)_). Please,
   confirm that it works for you.
 *  Thread Starter [salilou](https://wordpress.org/support/users/hkr/)
 * (@hkr)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wocommerce-1/#post-7191092)
 * thank you, the new update works for woo commerce main page now, but not for the
   woo commerce product pages, where the player still is visible
    – and now the 
   player doesn’t appear on my specific page (id 66), that I have set in widget 
   settings – and the playlist suddenly is empty
 * my settings are:
    exclude this pages: all include this pages: 66 (my specific
   page) show in shop page: false
 * I have installed a completely fresh wordpress-website with the same results. 
   only the playlist was ok.
 *  Plugin Author [msalsas](https://wordpress.org/support/users/msalsas/)
 * (@msalsas)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wocommerce-1/#post-7191093)
 * If you set “exclude all pages”, all pages will be excluded, no matter if you 
   include others. Remove this option.
    The playlist issues are due to the cookies.
   Clear them on the browser or open a private navigation window.
 * I would recommend you to just include those pages where you want to include the
   player, and maybe exclude “all” in post.
 * If this doesn’t work I’ll ask you for an other hack. Add these lines in `dynamicplayer.
   php` in line 192 (just before `dyn_scripts($dyn_option);`):
 *     ```
       else {
           return null;
       }
       ```
   
 * I think this will work. I’ll update the plugin once you confirm this point.
 *  Thread Starter [salilou](https://wordpress.org/support/users/hkr/)
 * (@hkr)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wocommerce-1/#post-7191098)
 * this has worked – without the hack!
    cookies deleted exclude all pages: EMPTY
   include pages: 66 (my music page) by setting “exclude posts” to “all” I could
   hide the player on the product pages and the hack was not needed thank you for
   your excellent support!! 🙂
 *  Plugin Author [msalsas](https://wordpress.org/support/users/msalsas/)
 * (@msalsas)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wocommerce-1/#post-7191099)
 * Great! You’re welcome. Thank you for your feedback. You can leave a review if
   you are satisfied.
 *  Plugin Author [msalsas](https://wordpress.org/support/users/msalsas/)
 * (@msalsas)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/wocommerce-1/#post-7191100)
 * Marked as resolved.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Wocommerce’ is closed to new replies.

 * ![](https://ps.w.org/dynamic-audio-player-basic/assets/icon-256x256.png?rev=1158079)
 * [Dynamic Audio Player Basic](https://wordpress.org/plugins/dynamic-audio-player-basic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dynamic-audio-player-basic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dynamic-audio-player-basic/)
 * [Active Topics](https://wordpress.org/support/plugin/dynamic-audio-player-basic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dynamic-audio-player-basic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dynamic-audio-player-basic/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [msalsas](https://wordpress.org/support/users/msalsas/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/wocommerce-1/#post-7191100)
 * Status: resolved