=== Coldbox Addons ===
Contributors: mirucon
Tags: coldbox, coldbox-theme
Requires at least: 5.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.3.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Social sharing, Open Graph metadata and site verification for the Coldbox theme.

== Description ==

Optional additions for the Coldbox theme: social share buttons, Open Graph tags,
Google site verification and an opt-in setting to stop loading jQuery.

== Features ==

* Share buttons for Twitter / X, Facebook, LINE, Hatena Bookmark and Copy link.
* Open Graph and related metadata.
* Google site verification.

== Installation Instructions ==

1. You may install the Coldbox Addon plugin via the WordPress.org plugin directory, or by uploading the files to /wp-content/plugins/ directory at your server.
1. Activate the plugin through the 'Plugins' menu in WordPress.
1. That's it! The plugin automatically works with the Coldbox theme.

== Frequently Asked Questions ==

= What happens to old AMP links? =

Since version 1.3.0, Coldbox Add-on no longer generates AMP pages. Existing article
links containing ?amp=1 redirect to the ordinary page. Universal Analytics, Pocket,
Feedly share buttons and share-count integration were also removed in 1.3.0.

= Where are the share buttons shown? =

By default, share buttons will be shown at the end of article content. Use `sns_buttons` shortcode to show them wherever you want in an article.
You can also use `<?php cd_addon_sns_buttons_list(); ?>` function to show them on any template files.

If you don't want the buttons to show at the end of content automatically, go and uncheck "Use social buttons" option in the theme customizer. You can call the share buttons using the shortcode function in that case.

== Screenshots ==

1. Share Buttons sample

== Changelog ==

= 1.3.0 =

* Plugin now requires WordPress 5.2 and PHP 7.4 or higher
* Removed AMP, Universal Analytics, Pocket, Feedly share button, and share counts; old ?amp=1 URLs now redirect to normal pages
* feat: Add "Copy link" share button and tooltips on share buttons
* feat: Support displaying Twitter as X and hiding new-tab icons via Customizer
* fix: Share buttons appear outside the [sns_buttons] shortcode position
* fix: HTML lang attribute disappears when Open Graph output is disabled
* fix: Google site verification tag is not output
* And some small bug fixes and improvements

= 1.2.5 =

* fix: Do not include amphtml meta tag if AMP is disabled

= 1.2.4 =

* fix: PHP undefined index notice for specific permalink setting

= 1.2.3 =

* fix: Twitter embedding in AMP pages

= 1.2.2 =

* fix: Better amp-iframe setting for default in AMP pages
* fix: Delete incompatible attribute `mozallowfullscreen` in AMP pages

= 1.2.1 =

* fix: PHP Warning when Coldbox theme is not activated

= 1.2.0 =

* feat: Add share button support for LINE
* fix: "amphtml" href is broken when the URL includes query parameter
* fix: Correct Feedly button URL
* fix: Delete Google Plus things
* fix: Use custom excerpt for og:description content
* fix: "Not to use jQuery" option is not working in some cases

= 1.1.9 =

* Improved: Better AMP content detection
* Other small bug fixes and refactors

= 1.1.8 =

* Fixed: Make large size thumbnail AMP compatible
* Fixed: Fix AMP styling due to the upgrade of Font Awesome 5
* refactor: Upgrade to Font Awesome version 5
* refactor: Replace IcoMoon icons with Simple Icons

= 1.1.7 =

* Added: New option to deregister jQuery
* Added: New option to select fallback image for Open Graph
* Fixed: HTML outline
* Fixed: og:url field
* Fixed: Several styling issues on AMP pages

= 1.1.6 =

* Moved AMP AdSense features to the Coldbox Ads Extension plugin: https://coldbox.miruc.co/google-adsense-extension/

= 1.1.5 =

* Added: Privacy Policy link in footer
* Fixed: Styling issue in AMP pages

= 1.1.4 =

* Added: Support for AdSense auto-ads on AMP pages
* Fixed: Custom logo was not showing on AMP pages
* Fixed: Several issues on AMP pages to make compatible with latest standard

= 1.1.3 =

* Updated: Changed file path as per Coldbox v1.5.0 release

= 1.1.2 =

* Improved: No more SNS Count Cache plugin to show social buttons (It's still required to show count badges)

= 1.1.1 =

* Bug fix

= 1.1.0 =

* Added: Open Graph tags
* Added: Google Analytics, and other meta integrations
* Added: SEO-related meta tags, such as `rel=next`, `rel=prev` tags
* Improved: Formatting/ brushing up codes

= 1.0.3 =

* Fixed: Translating issues

= 1.0.2 =

* Fixed: Undefined function error when the Coldbox theme is inactive
* Added: Specific PHP version

= 1.0.1 =

* Improved: AMP HTML format
* Added: A customizer option to select whether or not use AMP pages

= 1.0 =

* Initial Release

== Upgrade Notice ==

= 1.3.0 =

Requires WordPress 5.2+ and PHP 7.4+. AMP, Universal Analytics, Pocket, Feedly share button, and share counts have been removed; old ?amp=1 URLs redirect to normal pages.
