Title: Drug Half-Life Calculator
Author: Luke Mlsna
Published: <strong>2012-08-12</strong>
Last modified: 2013-01-01

---

Szukaj wtyczek

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://s.w.org/plugins/geopattern-icon/drugsdb-half-life-calculator.svg)

# Drug Half-Life Calculator

 Autor: [Luke Mlsna](https://profiles.wordpress.org/bitacre/)

[Pobierz](https://downloads.wordpress.org/plugin/drugsdb-half-life-calculator.1.1.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/drugsdb-half-life-calculator/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/drugsdb-half-life-calculator/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/drugsdb-half-life-calculator/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/drugsdb-half-life-calculator/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/drugsdb-half-life-calculator/)

## Opis

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](http://www.drugsdb.com/).

To see a live example, visit: [http://www.drugsdb.com/resources/drug-half-life-calculator/](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

 * [plugins@shinraholdings.com](https://pl.wordpress.org/plugins/drugsdb-half-life-calculator/plugins@shinraholdings.com?output_format=md)

## Instalacja

 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]`.

## Najczęściej zadawane pytania

  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.

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„Drug Half-Life Calculator” jest oprogramowaniem open source. Poniższe osoby miały
wkład w rozwój wtyczki.

Zaangażowani

 *   [ Luke Mlsna ](https://profiles.wordpress.org/bitacre/)
 *   [ drugsdb ](https://profiles.wordpress.org/drugsdb/)

[Przetłumacz wtyczkę “Drug Half-Life Calculator” na swój język.](https://translate.wordpress.org/projects/wp-plugins/drugsdb-half-life-calculator)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/drugsdb-half-life-calculator/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/drugsdb-half-life-calculator/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/drugsdb-half-life-calculator/)
przez [RSS](https://plugins.trac.wordpress.org/log/drugsdb-half-life-calculator/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 1.1

 * Removes the link attribution.

#### 1.0

 * First release version.

## Meta

 *  Wersja **1.1**
 *  Ostatnia aktualizacja **14 lat temu**
 *  Włączone instalacje **10+**
 *  Wersja WordPressa ** 2.8 lub nowszej **
 *  Testowano do **3.5.2**
 *  Język
 * [English (US)](https://wordpress.org/plugins/drugsdb-half-life-calculator/)
 * Tagi
 * [calculator](https://pl.wordpress.org/plugins/tags/calculator/)[drugs](https://pl.wordpress.org/plugins/tags/drugs/)
   [half-life](https://pl.wordpress.org/plugins/tags/half-life/)[prescription](https://pl.wordpress.org/plugins/tags/prescription/)
   [widget](https://pl.wordpress.org/plugins/tags/widget/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/drugsdb-half-life-calculator/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/drugsdb-half-life-calculator/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/drugsdb-half-life-calculator/reviews/)

## Zaangażowani

 *   [ Luke Mlsna ](https://profiles.wordpress.org/bitacre/)
 *   [ drugsdb ](https://profiles.wordpress.org/drugsdb/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/drugsdb-half-life-calculator/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](http://www.drugsdb.com)