-
Notifications
You must be signed in to change notification settings - Fork 0
manimorris/jt-kodesh
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Latest commit | ||||
Repository files navigation
=== Jt Kodesh === Contributors: mamprog. Tags: shabbat, Jewish holidays Requires at least: 4.6 Tested up to: 5.8 Requires PHP: 7.0 Stable tag: 1.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Author: Morris Mani, Cohen David. Plugin URI: "https://www.jewtech.co.il". ==Description== This plugin is intended to help website owners (commercial and general) and visitors to observe the Shabbat and Jewish holidays by preventing commercial activity and actions involving 'Chilul Shabbat'. Closing the site: The plugin will pop up a designed message to the visitors, the pop-up contains a timer that shows the time left until the end of Shabbat or the holiday. The plugin is located on top of the of the websites content and does not change the content and does not redirect the visitors to another page. How the plugin works: In order to save resources and running time of the website, the plugin was designed to operate only on erev Shabbat and Chag and until the end of the Shabbat or the Chag. During the operation, the plugin will check each visitor browsing the website, get his geographical location and between the of Candle lighting and Motzaei Shabbat/Chag according to the visitor's location, the popup message will block the site. A visitor will be identified once on his first login to the site, the plugin will keep his geographical location (temporarily) until Saturday. If the visitor's location is not identified, the extension will use the website's default location. After activating the plugin on the plugin settings page, you can test its activity by embed the testing short code (preferably on a dedicated test page): [jtk-test] The plugin is availbe in English and Hebrew. ======== תוסף זה מיועד לבעלי אתרים (מסחריים ובכלל) המעוניינים לסגור את הפעילות האתר בימי שבת וחג, בכדי לשמור על קדושת השבת והחג במניעת פעילות מסחרית ופעולות הכרוכות בחילול שבת וחג. סגירת האתר: התוסף יקפיץ הודעה מעוצבת למשתמש בימי שבת וחג אודות סגירת האתר, החלון הקופץ מכיל טיימר המציג את הזמן שנותר עד לצאת השבת או החג. התוסף ממוקם על גבי תוכן האתר ואינו משנה את התכנים באתר או מפנה את הלקוח לדף אחר. אופן פעולת התוסף: על מנת לחסוך במשאבים ובזמן ריצה של האתר, התוסף תוכנן לפעול רק בימי ערב שבת וחג ועד לסיום השבת והחג. בזמן הפעולה, התוסף יבדוק כל משתמש הגולש באתר, יקבל את המיקום הגיאוגרפי שלו ובין שעת כניסת השבת לצאת השבת לפי מיקומו של המשתמש יוצג למשתמש הודעה על כך שביום השבת או החג האתר סגור. משתמש יזוהה פעם אחת בכניסה הראשונה שלו לאתר, התוסף ישמור את המיקום הגיאוגרפי שלו (בצורה זמנית) עד לצאת השבת. במידה ומיקומו של המשתמש לא יזוהה, התוסף ישתמש בנתוני המיקום של האתר. לאחר הפעלת התוסף בדף הגדרות התוספים, ניתן לבדוק את פעילותו על ידי הטמעת השורטקוד [jtk-test] (עדיף בדף בדיקה ייעודי)
About
jt-kodesh plugin
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published