Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Drug Half-Life Calculator

Описание

This plugin allows you to add a widget to your sidebar or shortcode to a page or post that displays a simple drug half life calculator. The calculator outputs the concentration of the drug that will remain in your system over a period of time. The plugin accepts two values: half-life and dosage. You can find the half life of various drugs and medications at Drugsdb.com.

To see a live example, visit: http://www.drugsdb.com/resources/drug-half-life-calculator/

Use the shortcode [halflife] to display it on posts or pages or add it as a sidebar widget.

Support

Установка

  1. Download the latest zip file and extract the drugsdb-half-life-calc directory.
  2. Upload this directory inside your /wp-content/plugins/ directory.
  3. Activate the ‘Drugsdb Half-Life Calculator Widget’ on the ‘Plugins’ menu in WordPress.
  4. Add the widget to your sidebar (using the Appearance > Widgets menu).
  5. Add to a post or page using the shortcode [halflife].

Часто задаваемые вопросы

How do I display in posts or pages?

Use the shortcode [halflife] wherever you want it to appear on your post or page.

Is there a PHP template tag?

Yes, use the code <?php do_shortcode( 'halflife' ); ?> anywhere in your theme to display the calculator.

How do I remove the attribution in the Widget?

Check the «remove attribution» option on the widget admin.

How do I remove the attribution in the shortcode?

Add the attribute remove_attrib="yes", so the full shortcode would be ‘[halflife remove_attrib=»yes»]`.

Can I change the title?

Yes, using the widget admin. The shortcode does not print a title so you may simple type a title above the shortcode.

Отзывы

Нет отзывов об этом плагине.

Участники и разработчики

«Drug Half-Life Calculator» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Drug Half-Life Calculator» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

1.1

  • Removes the link attribution.

1.0

  • First release version.