Title: PCF Birthday Countdown
Author: PC Futures
Published: <strong>September 11, 2015</strong>
Last modified: October 6, 2015

---

Search plugins

![](https://ps.w.org/pcf-birthday-countdown/assets/banner-772x250.png?rev=1244999)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/pcf-birthday-countdown/assets/icon.svg?rev=1243144)

# PCF Birthday Countdown

 By [PC Futures](https://profiles.wordpress.org/pcfdev/)

[Download](https://downloads.wordpress.org/plugin/pcf-birthday-countdown.zip)

 * [Details](https://pcm.wordpress.org/plugins/pcf-birthday-countdown/#description)
 * [Reviews](https://pcm.wordpress.org/plugins/pcf-birthday-countdown/#reviews)
 *  [Installation](https://pcm.wordpress.org/plugins/pcf-birthday-countdown/#installation)
 * [Development](https://pcm.wordpress.org/plugins/pcf-birthday-countdown/#developers)

 [Support](https://wordpress.org/support/plugin/pcf-birthday-countdown/)

## Description

#### Basic Instructions

Once the plugin is installed, go to **`Settings > General > PCF Countdown Options`**
to input a name and date for the countdown.

Use the shortcode **`[pcf_bday_countdown]`** to output the countdown.

The countdown will output in days by default (e.g ‘105 days until `name`s Birthday’).

#### Changing output type

The shortcode can be given a ‘type’ attribute, like so:

    ```
    [pcf_bday_countdown type="days|weeks|sleeps"]
    ```

This enables you to change the output type.

There are 3 types to choose from:

 * Days
 * Weeks
 * Sleeps

If you do not specify the type attribute, or specify an invalid type, it will default
to ‘days’.

Example:

    ```
    [pcf_bday_countdown type="weeks"]
    ```

will output as

    ```
    It's `x` weeks and `y` days until `name`s Birthday!
    ```

#### Styling the output

_Styling the output is an advanced setting, that involves writing custom CSS._

The shortcode can be given an ‘id’ attribute, which can then be used to style the
output using CSS.

For example,

    ```
    [pcf_bday_countdown id="my-id"]
    ```

would output in HTML as

    ```
    <p id="my-id">...</p>
    ```

You can then add custom CSS through **`Appearance > Editor`**. If your theme supports
custom CSS, you may be able to add your styles in Theme Options. If there is a custom
css file in Editor, it is advised to use that for custom styles.

Here is an example of some custom styles:

    ```
    #my-id{
        color: blue;
        font-size: 16px;
        text-decoration: underline;
    }
    ```

This will set the output to be blue, underlined, and to have a font size of 16px.

## Installation

 1. Upload ‘pcf-birthday-countdown.zip’ to WordPress
 2. Activate the plugin once installed.
 3. Configure all settings in **`Settings > General > PCF Countdown Options`**.
 4. Place shortcode where you want the countdown to appear!

## FAQ

  Can I style the outputted text?

Yes! You can add an ID using the id `id` attribute. See ‘Description’ for more information.

  Can I change the output text?

No, you need the premium version of our plugin to do this.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“PCF Birthday Countdown” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ PC Futures ](https://profiles.wordpress.org/pcfdev/)

[Translate “PCF Birthday Countdown” into your language.](https://translate.wordpress.org/projects/wp-plugins/pcf-birthday-countdown)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/pcf-birthday-countdown/),
check out the [SVN repository](https://plugins.svn.wordpress.org/pcf-birthday-countdown/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/pcf-birthday-countdown/)
by [RSS](https://plugins.trac.wordpress.org/log/pcf-birthday-countdown/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.2

 * [Fixed] Fixed a bug that caused the admin notice to appear on every page.

#### 2.1

 * [Added] Added widget feature for users who don’t want to use shortcodes. The 
   widget takes 2 inputs: type and id, which work in the same way as the shortcode
   attributes.
 * [Update] Rewrote some algorithms for more robustness and efficiency.

#### 2.0

 * [Updated] Rewrote a large amount of the output code and changed the counter so
   that it is accurate.
 * [Added] Added a new output for when the event is on the same day as viewing. 
   i.e on the set date the output will be “It’s `event`!”.

#### 1.3

 * [Updated] Made the plugin show the word ‘day’ instead of ‘days’ when applicable.
   Same applies to ‘weeks’.

#### 1.2

 * [Updated] Changed how ‘weeks’ outputs. Makes more sense now.

#### 1.1

 * [Added] Added a verification to make sure that the date entered is valid. (i.
   e if 30th of February is entered, it will automatically switch to the 28th or
   29th, depending on whether it’s a leap year.

#### 1.0

 * Published Plugin

## Meta

 *  Version **2.2**
 *  Last updated **11 years ago**
 *  Active installations **10+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **4.3.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/pcf-birthday-countdown/)
 * Tags
 * [birthday](https://pcm.wordpress.org/plugins/tags/birthday/)[count](https://pcm.wordpress.org/plugins/tags/count/)
   [countdown](https://pcm.wordpress.org/plugins/tags/countdown/)[date](https://pcm.wordpress.org/plugins/tags/date/)
   [down](https://pcm.wordpress.org/plugins/tags/down/)
 *  [Advanced View](https://pcm.wordpress.org/plugins/pcf-birthday-countdown/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/pcf-birthday-countdown/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/pcf-birthday-countdown/reviews/)

## Contributors

 *   [ PC Futures ](https://profiles.wordpress.org/pcfdev/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/pcf-birthday-countdown/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.example.com/)