=== PCF Thanksgiving Countdown ===
Contributors: PCFDev 
Donate link: http://www.example.com/
Tags: thanksgiving, thanks, giving, countdown, count, down, date, calendar, pcf, tg
Requires at least: 4.0
Tested up to: 4.3
Stable tag: 4.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A simple plugin that creates an easy to use Thanksgiving countdown for your WordPress sites.

== Description ==

= 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_tg_countdown]`** to output the countdown.

The countdown will output in days by default (e.g '105 days until Thanksgiving!').


= Changing output type =

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

    [pcf_tg_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_tg_countdown type="weeks"]

will output as

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


= 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_tg_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.


== Installation ==

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

== Frequently Asked Questions ==

= 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.

== Screenshots ==

1. 'Days and Weeks' Countdown
1. 'Days' Countdown
1. 'Weeks' Countdown
1. 'Sleeps' Countdown

== Changelog ==

= 1.2 =

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

= 1.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

= 1.0 =

* Published Plugin


== Upgrade Notice ==

= 1.2 =

* Fixed a bug, upgrading advised.

= 1.1 =

* Added some new features that may be useful, see changelog.
* Changed some algorithms so that the plugin is less buggy, upgrade if you can.

= 1.0 =

* N/A