Aquesta extensió no s'ha provat en les darreres 3 versions majors del WordPress. Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat quan s'usa en versions recents del WordPress.

Daily Zman Widget

Descripció

Displays Hebrew date, sunrise, sunset, and key times for prayers (latest Shema, earliest Plag, etc) along with multiple calculation options (GR”A, M”A). Display is highly customizable, with options to display or hide:

  • Hebrew date
  • Sunrise and/or sunset
  • Earliest time for Plag haMincha
  • Latest time to say morning Shema

Within those options, there are choices to show English or Hebrew, Ashkenazi or Sephardi transliterations, and multiple options for calculating times (GR”A, M”A, etc)

This plugin makes one JSON call to hebcal.com for the the Hebrew date. More information on how this feature works can be found here:
http://www.hebcal.com/home/219/hebrew-date-converter-rest-api

This plugin also makes two JSON calls to Google’s Maps API: one to obtain the latitude/longitude for the provided zip code, and another to determine the time zone for that zip code.

More information can be found here:
https://developers.google.com/maps/documentation/geocoding/
…and here…
https://developers.google.com/maps/documentation/timezone/

For Shabbat Zman display, please see this plugin: https://wordpress.org/plugins/adatosystems-friday-zmanim/

Arbitrary section 1

Instal·lació

  1. Download a copy of the zip file to your computer
  2. Extract the files.
  3. FTP to your webserver
  4. Create a directory inside /wp-content/plugins named “dailyzmanim”
  5. Upload zmanfriday.php to the /wp-content/plugins/dailyzmanim directory
  6. Activate the plugin through the ‘Plugins’ menu in WordPress
  7. Use Appareance -> Widgets to place this information on your page (does not currently support shortcodes or php inserts)

Formatting
Several CSS style codes are included:
* #dailyzman: a DIV tag that wraps all the widget content
* #zmanbigtitle: a SPAN tag for the title of the widget
* #zmantitle: a SPAN tag for each of the titles within the widget.

Thus, you could format the text by adding the following to your style sheet:

dailyzman { font-size: 12px; }

zmanbigtitle {

    font-size: 12px;
    font-weight: bold;
    text-decoration: underline;

}

zmantitle { font-weight: bold; }

PMF

The plugin works for part of the day, and then stops

The Google API has a limit of 2,500 requests per day. If you need more than that, contact the developer for the pro version that covers high-volume websites.

Something isn’t working. Any way I can see what might be going wrong?

Check the “debug” option at the bottom of the widget to get some of the initial calculations that are coming in. Otherwise, contact the developer. I hear he’s a great guy.

Ressenyes

No hi ha ressenyes per a aquesta extensió.

Col·laboradors i desenvolupadors

«Daily Zman Widget» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.

Col·laboradors

Registre de canvis

1.0

  • Initial Release

1.1

  • Really just matched this to the way things are done in the Shabbat Zman widget
  • Added options for Latitude/Longitude for those locations where the postal code doesn’t work.
  • If using Lat/Long, returns location name in that location’s language (if possible)
  • Using sunrise/sunset (instead of calculating it within the code) because of mis-matches in DST (daylight savings time) calculations.
  • changed from using Google Maps API to GeoNames.org for lat/long and timezone data due to overload of Google’s 2500 hit per day per IP, which was blocking sites hosted by NetworkSolutions and other larger providers.
  • Changed URL calls to use a more secure cURL routine
  • Added additional debugging for php version, plus an alternate method of determining Friday’s date