Title: leggytech's Replies | WordPress.org

---

# leggytech

  [  ](https://wordpress.org/support/users/leggytech/)

 *   [Profile](https://wordpress.org/support/users/leggytech/)
 *   [Topics Started](https://wordpress.org/support/users/leggytech/topics/)
 *   [Replies Created](https://wordpress.org/support/users/leggytech/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/leggytech/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/leggytech/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/leggytech/engagements/)
 *   [Favorites](https://wordpress.org/support/users/leggytech/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Shabbat] Close page vs Pop-up Message](https://wordpress.org/support/topic/close-page-vs-pop-up-message/)
 *  Thread Starter [leggytech](https://wordpress.org/support/users/leggytech/)
 * (@leggytech)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/close-page-vs-pop-up-message/#post-7613725)
 * Hi,
 * I guess that is not possible for the reason you gave me, because
    that is calculated
   the day of the visitor.
 * I’m going to look what i can do for now.
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Shabbat] Close page vs Pop-up Message](https://wordpress.org/support/topic/close-page-vs-pop-up-message/)
 *  Thread Starter [leggytech](https://wordpress.org/support/users/leggytech/)
 * (@leggytech)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/close-page-vs-pop-up-message/#post-7613724)
 * The case options have rare characters, maybe in hebrew?
    case preg_match(‘/ë”
   è àìåì/’, $hebrewDate) == 1:// øàù äùðä à case preg_match(“/è’ úùøé/”, $hebrewDate)
   == 1:// éåí ëéôåø case preg_match(‘/é”â úùøé/’, $hebrewDate) == 1:// ñåëåú case
   preg_match(‘/ë”à úùøé/’, $hebrewDate) == 1:// ùîéðé òöøú case preg_match(‘/é”
   â ðéñï/’, $hebrewDate) == 1:// ôñç case preg_match(‘/é”è ðéñï/’, $hebrewDate)
   == 1:// ùáéòé ùì ôñç case preg_match(“/ä’ ñéåï/”, $hebrewDate) == 1://ùáåòåú
 * I would like to know hebrew.
    If I can insert in the cases the sunset time calculated
   minus 24 hrs that would be good, but I don’t know if that is possible.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Shabbat] Close page vs Pop-up Message](https://wordpress.org/support/topic/close-page-vs-pop-up-message/)
 *  Thread Starter [leggytech](https://wordpress.org/support/users/leggytech/)
 * (@leggytech)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/close-page-vs-pop-up-message/#post-7613723)
 * Hi DrMosko,
 * I don’t know why, but wp-shabbat-functions.php is blank
    in my installation. 
   And I looked in internet and I found: [https://github.com/drmosko/wp-shabbat/blob/master/wp-shabbat-functions.php](https://github.com/drmosko/wp-shabbat/blob/master/wp-shabbat-functions.php)
 * I have to copy that code and insert in my installation?
    And how I add holidays?
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Shabbat] Close page vs Pop-up Message](https://wordpress.org/support/topic/close-page-vs-pop-up-message/)
 *  Thread Starter [leggytech](https://wordpress.org/support/users/leggytech/)
 * (@leggytech)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/close-page-vs-pop-up-message/#post-7613678)
 * There must be some code in some place there that I overlooked.
    I made two changes,
   if I remember well, but I cannot do it.
 * I have to watch carefully this week to see.
 * leggytech
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Shabbat] Close page vs Pop-up Message](https://wordpress.org/support/topic/close-page-vs-pop-up-message/)
 *  Thread Starter [leggytech](https://wordpress.org/support/users/leggytech/)
 * (@leggytech)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/close-page-vs-pop-up-message/#post-7613677)
 * Hi DrMosko,
 * I had the limitation of 600 minutes, but I changed the code to 1450 max,
    because
   I wanted to expand the candle time for a website ads affiliate that let the cookies
   be working for 24 hrs. I just wanted to do not let activate cookies with my links
   24 hrs before sunset, not just 10 hrs or 600 minutes.
 * When I looked the website, it was working within the 24 hrs, but as 10
    hrs (
   not sure) before, it began working as You had coded.
 * Excuse my english.
 * Thanks.
    leggytech
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP-Shabbat] Close page vs Pop-up Message](https://wordpress.org/support/topic/close-page-vs-pop-up-message/)
 *  Thread Starter [leggytech](https://wordpress.org/support/users/leggytech/)
 * (@leggytech)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/close-page-vs-pop-up-message/#post-7613612)
 * I tried to expand the candle time up to 24 hrs before sunset for the
    purpose
   of avoid the time that affiliate links keep (24 hrs), and I adjusted the max 
   time from 600 to 1450, and then I could put 1450 in the field, but apparently
   the system is not processing the full time, only maybe 600, I am not sure.

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