=== Tiny1z Short URLs ===

Contributors: Tiny1z, jen7en
Tags: short url, url shortener, links, sharing
Requires at least: 5.0
Tested up to: 6.8
Stable tag: 1.0.0
Requires PHP: 7.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Automatically generate and manage Tiny1z short URLs for posts, pages, and WooCommerce products. Modern, fast, and easy to use.

== Description ==

Automatically generates and manages Tiny1z short URLs for posts, pages, and WooCommerce products. Share, track, and manage your links with ease. Modern, lightweight, and easy to use.

== Features ==

✔️ **Automatic Short URL Generation:** Instantly creates a Tiny1z short URL for every post, page, and WooCommerce product.  
✔️ **Bulk Generation:** Generates short URLs for all existing content on plugin activation.  
✔️ **Admin Columns:** View and copy short URLs directly from the admin post/product lists.  
✔️ **WooCommerce Integration:** Product short URLs included in order emails.  
✔️ **Frontend Display:** Show short URLs on posts/pages/products in various styles (snippet, card, button, plain, QR code).  
✔️ **Shortcode Support:** Use `[tiny1z_short_url]` anywhere to display the short URL.  
✔️ **Manual Generation:** Generate a short URL for any post/product with a single click.  
✔️ **Settings Page:** Configure API key, display options, and more from a sleek settings page.

---

🟦 **Planned & Upcoming Features:**  
- Advanced analytics and click tracking  
- Custom short URL slugs  
- REST API endpoints for developers  
- More display styles and customization options  
- Multisite compatibility  
- Enhanced QR code options

We’re always adding new features!  
💡 [Suggest a feature or contact support](https://tiny1z.com/support)

== External Services ==

This plugin relies on the following third-party services:

**Tiny1z API**  
Used to generate short URLs for your WordPress posts, pages, and WooCommerce products.  
- **What is sent:** The original post/page/product URL and your Tiny1z API key.
- **When:** On plugin activation (bulk generation for all existing content), and automatically for each new or updated post/product.
- **Purpose:** To create and manage short URLs for your site content.
- **Privacy:** No personal or site information is sent beyond the URL and API key.
- **Terms & Privacy Policy:** [https://tiny1z.com/terms](https://tiny1z.com/terms)  

If you use the QR code display option, the plugin also connects to the QRServer API ([https://goqr.me/api/](https://goqr.me/api/)) to generate QR code images for your short URLs.  
- **What is sent:** The short URL to be encoded as a QR code.
- **Purpose:** To display a QR code for easy sharing.
- **Terms & Privacy Policy:** [https://goqr.me/de/rechtliches/datenschutz-goqrme.html](https://goqr.me/de/rechtliches/datenschutz-goqrme.html)

== Installation ==

1. **Download & Upload**
   - Download the plugin ZIP or clone the repository.
   - Upload the `tiny1z-short-url` folder to your `/wp-content/plugins/` directory.

2. **Activate**
   - Go to **Plugins > Installed Plugins** in your WordPress admin.
   - Find "Tiny1z Short URLs" and click **Activate**.

3. **Configure**
   - Go to **Settings > Tiny1z Short URL**.
   - Enter your Tiny1z API key (get one free at [tiny1z.com](https://tiny1z.com/signup)).
   - Choose your preferred frontend display style and enable/disable frontend display as needed.
   - Save your settings.

4. **Bulk Generation**
   - On activation, the plugin will automatically generate short URLs for all existing posts, pages, and products.
   - For new content, short URLs are generated automatically on publish/update.

5. **Usage**
   - **Admin Columns:** See the short URL in the admin list for posts, pages, and products. If not generated, click "Generate".
   - **WooCommerce:** Product short URLs appear in order emails.
   - **Frontend Display:** The short URL will appear on posts/pages/products according to your settings (snippet, card, button, etc.).
   - **Shortcode:** Add `[tiny1z_short_url]` anywhere in your content to display the short URL for that post/page/product.

== Frequently Asked Questions ==

= Where do I get a Tiny1z API key? =
Sign up for free at [https://tiny1z.com/signup](https://tiny1z.com/signup) and get your API key from your dashboard.

= Can I change how the short URL looks on my site? =
Yes! Go to **Settings > Tiny1z Short URL** and choose from snippet, card, button, plain link, or QR code.

= How do I show the short URL in a custom place? =
Use the `[tiny1z_short_url]` shortcode anywhere in your post, page, or product content.

= What if a short URL is not generated? =
In the admin list, click the "Generate" button for that post/product. Make sure your API key is set.

= Does it work with WooCommerce? =
Yes! Product short URLs are generated and included in order emails.

= Can I bulk generate short URLs for existing content? =
Yes! This happens automatically on plugin activation.

== Screenshots ==

1. Settings page with API key and display options.
2. Short URL column in the admin post/product list.
3. Modern snippet and card display on the frontend.
4. Short URL in WooCommerce order email.

== Changelog ==

= 1.0.0 =
* Initial release: automatic short URLs, WooCommerce support, admin columns, frontend display, shortcode, and more.

== Upgrade Notice ==
= 1.0.0 =

First release. Please report any issues or feature requests at [https://tiny1z.com/support](https://tiny1z.com/support).


== Support ==

For help, feature requests, or bug reports, visit [https://tiny1z.com/support](https://tiny1z.com/support).
