هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

USGS River Conditions

الوصف

This is a WordPress plugin that fetches streamflow and river data from the USGS. It’s intended use is for river guides and fishing outfitters to report conditions. It may also be useful for rafting companies and others who offer services related to rivers and streams.

التنصيب

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Begin by specifying the rivers you’d like to display. Identified as an array within the function. <?php $rivers = usgs_fetch_sites(array('jefferson','madison','bighole','beaverhead','ruby')); ?>
  4. Choose which data parameters to include (stream discharge, temperature, etc), or leave blank to include all. <?php $data_params = usgs_fetch_dataParameters(); ?>
  5. Place a call to fetch the JSON from USGS <?php $riverData = usgs_fetch_riverData($rivers,$data_params); ?>
  6. Display the river data as an unordered list <?php usgs_display_RiverData($riverData,$showMap=false); ?>
  7. Show a static Google map identifying the locations <?php usgs_display_map($riverData,'riverDataMap','riverMap',650,450,$maptype='terrain',$echo=true); ?>

الأسئلة المتكررّة

Will I be able to use this plugin without modifying my theme?

No. You’ll need to have basic familiarity with PHP, HTML and CSS for this plugin to work as intended. Future releases will attempt to address this and make it more user friendly.

Do you offer support

Generally no. If you wish to request support you may do it through my personal site. Since this is my first publicly release plugin, if support requests become overwhelming, I’ll likely disable support all together.

المراجعات

لا توجد مراجعات لهذه الإضافة.

المساهمون والمطوّرون

“USGS River Conditions” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”USGS River Conditions“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

1.0

  • Public release