Title: Plugin Incompatibility
Last modified: August 7, 2023

---

# Plugin Incompatibility

 *  Resolved [Andrew Mead](https://wordpress.org/support/users/andrewmead/)
 * (@andrewmead)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/plugin-incompatibility-18/)
 * Hello! 👋
 * It looks like this plugin modifies the return value of `get_the_date` regardless
   of the context in which it is called. This means it will conflict with any plugin
   that tries to get the date of a post, such as calling `get_the_date('U', 1)` 
   from within a plugin admin page.
 * This was causing issues with Independent Analytics as well as WooCommerce. It
   should probably find a way to only target the function on singular pages by replacing
 *     ```wp-block-code
       if ('enabled' === $options['jewish_date_post'] ) {
       ```
   
 * with
 *     ```wp-block-code
       if (is_singular() && 'enabled' === $options['jewish_date_post'] ) {
       ```
   
 * to ensure it is for a singular.
 * Even so, I’m not sure this will be enough for all cases. A short code is probably
   more appropriate.

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

 *  Plugin Author [kikipress](https://wordpress.org/support/users/kikiatwp/)
 * (@kikiatwp)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/plugin-incompatibility-18/#post-16982609)
 * > This was causing issues with Independent Analytics as well as WooCommerce.
 * Thank you for your comment. However, I was unable to reproduce the issue. Any
   screenshots are welcome.
    -  This reply was modified 2 years, 9 months ago by [kikipress](https://wordpress.org/support/users/kikiatwp/).
 *  Plugin Author [kikipress](https://wordpress.org/support/users/kikiatwp/)
 * (@kikiatwp)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/plugin-incompatibility-18/#post-17001808)
 * Closed.

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

The topic ‘Plugin Incompatibility’ is closed to new replies.

 * ![](https://ps.w.org/jewish-date/assets/icon-128x128.png?rev=2562207)
 * [Jewish Date](https://wordpress.org/plugins/jewish-date/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jewish-date/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jewish-date/)
 * [Active Topics](https://wordpress.org/support/plugin/jewish-date/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jewish-date/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jewish-date/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [kikipress](https://wordpress.org/support/users/kikiatwp/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/plugin-incompatibility-18/#post-17001808)
 * Status: resolved