Title: PCF Christmas Countdown
Author: PC Futures
Published: <strong>7. Septembra 2015.</strong>
Last modified: 6. Oktobra 2015.

---

Pretražite dodatke

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

Ovaj dodatak **nije testiran s najnovija 3 glavna izdanja WordPress-a**. Možda se
više ne održava ili se ne podržava i može imati problema sa kompatibilnošću kada
se koristi sa novijim verzijama WordPress-a.

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

# PCF Christmas Countdown

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

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

 * [Detalji](https://bs.wordpress.org/plugins/pcf-christmas-countdown/#description)
 * [Recenzije](https://bs.wordpress.org/plugins/pcf-christmas-countdown/#reviews)
 *  [Instalacija](https://bs.wordpress.org/plugins/pcf-christmas-countdown/#installation)
 * [Razvoj](https://bs.wordpress.org/plugins/pcf-christmas-countdown/#developers)

 [Podrška](https://wordpress.org/support/plugin/pcf-christmas-countdown/)

## Opis

#### Basic Instructions

This plugin works out-of-the-box, so once the plugin is installed, you can place
a shortcode wherever you want.

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

The countdown will output in days by default (e.g ‘105 days until Christmas!’).

#### Changing output type

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

    ```
    [pcf_xmas_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_xmas_countdown type="weeks"]
    ```

will output as

    ```
    It's `x` weeks and `y` days until Christmas!
    ```

#### 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_xmas_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: red;
        font-size: 16px;
        text-decoration: underline;
    }
    ```

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

## Slike ekrana

[⌊'Days and Weeks' Countdown⌉⌊'Days and Weeks' Countdown⌉[

‘Days and Weeks’ Countdown

[⌊'Days' Countdown⌉⌊'Days' Countdown⌉[

‘Days’ Countdown

[⌊'Weeks' Countdown⌉⌊'Weeks' Countdown⌉[

‘Weeks’ Countdown

[⌊'Sleeps' Countdown⌉⌊'Sleeps' Countdown⌉[

‘Sleeps’ Countdown

## Instalacija

 1. Upload ‘christmas-countdown.zip’ to WordPress
 2. Activate the plugin once installed.
 3. Place shortcode where you want the countdown to appear!

## ČPP

  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?

Other than the built in `type` attributes, no. However, with the premium version
of our plugin you can custom this text.

## Recenzije

![](https://secure.gravatar.com/avatar/111643ac98f39db50c6d169a38c5bb981af9ba8399ff23453d7fef2c4b288571?
s=60&d=retro&r=g)

### 󠀁[Could be useful, but must you add the perpetual nag?](https://wordpress.org/support/topic/could-be-useful-but-must-you-add-the-perpetual-nag/)󠁿

 [nathaningram](https://profiles.wordpress.org/nathaningram/) 3. Septembra 2016.
2 replies

I can see where some will find this plugin useful, but the fact that it places an
upgrade nag at the top of EVERY admin page is unacceptable. This nag cannot be closed
and will not go away, even if the link is clicked.

 [ Read all 1 review ](https://wordpress.org/support/plugin/pcf-christmas-countdown/reviews/)

## Saradnici i programeri

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

Doprinositelji

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

[Prevedi “PCF Christmas Countdown” na vaš jezik.](https://translate.wordpress.org/projects/wp-plugins/pcf-christmas-countdown)

### Zainteresirani za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/pcf-christmas-countdown/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/pcf-christmas-countdown/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/pcf-christmas-countdown/)
od [RSS](https://plugins.trac.wordpress.org/log/pcf-christmas-countdown/?limit=100&mode=stop_on_copy&format=rss).

## Zapis promijena

#### 2.2

 * [Fixed] Fixed a bug that caused the admin notice to appear on every page. It 
   now only appears on the plugins 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.4

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

#### 1.3

 * [Updated] Stopped the weeks output displaying ‘0 days’ or ‘0 weeks’

#### 1.2

 * [Updated] Changed some function names to make them more unique and compatible
   with our other plugins.

#### 1.1

 * [Fixed] Fixed an issue where the plugin would show negative numbers if the date
   had past.
 * [Updated] Changed the countdown algorithm; is now much easier to work with.

#### 1.0

 * Published Plugin

## Meta

 *  Version **2.2**
 *  Last updated **prije 11 godina**
 *  Active installations **10+**
 *  WordPress version ** 4.0 ili viša **
 *  Tested up to **4.3.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/pcf-christmas-countdown/)
 * Tags
 * [christmas](https://bs.wordpress.org/plugins/tags/christmas/)[count](https://bs.wordpress.org/plugins/tags/count/)
   [countdown](https://bs.wordpress.org/plugins/tags/countdown/)[date](https://bs.wordpress.org/plugins/tags/date/)
   [down](https://bs.wordpress.org/plugins/tags/down/)
 *  [Napredni pogled](https://bs.wordpress.org/plugins/pcf-christmas-countdown/advanced/)

## Ocjene

 3 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/pcf-christmas-countdown/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/pcf-christmas-countdown/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/pcf-christmas-countdown/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/pcf-christmas-countdown/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/pcf-christmas-countdown/reviews/?filter=1)

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

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

## Doprinositelji

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

## Podrška

Imate nešto za reći? Trebate pomoć?

 [Pogledaj forum podrške](https://wordpress.org/support/plugin/pcf-christmas-countdown/)

## Pokloni

Da li bi ste željeli da podržite napredovanje ovog proširenja?

 [ Pokloni ovom proširenju ](http://www.example.com/)