=== Atisuto vCard ===
Contributors: atisutocreative
Tags: vcard, digital business card, qr-code, nfc, contact
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 3.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Manage digital business cards from your WordPress dashboard. Includes QR code generation, NFC landing page, shortcode and download statistics.

== Description ==

Atisuto vCard lets you create and manage digital business cards from your WordPress dashboard. Each vCard is a Custom Post Type with all contact details, a profile photo and related links.

**Features:**

* Create unlimited digital business cards from the WordPress dashboard
* Automatic `.vcf` download via a fixed URL (compatible with NFC tags)
* QR code generator (100% local — no external API, no Composer required)
* NFC landing page showing the full card and QR code
* Shortcode `[vcard slug="name"]` for use on any page or post
* Download statistics: track downloads and page views per card
* Upload a profile photo via the WordPress Media Library
* Support for multiple phone numbers, email addresses and URLs

**Shortcode usage:**

`[vcard slug="john-doe"]`
`[vcard id="42"]`
`[vcard slug="john-doe" style="compact"]`

**URL structure:**

* `.vcf` download: `/vcard/name.vcf`
* QR code: `/vcard/name-qr.png`
* Landing page: `/contact/name/`

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`
2. Activate the plugin via the 'Plugins' menu in WordPress
3. Go to 'Business Cards' in the admin menu
4. Add a new business card and fill in the contact details
5. Publish the card — the download URL will appear automatically in the sidebar

After installation it is recommended to flush permalinks via Settings → Permalinks → Save Changes.

== Frequently Asked Questions ==

= Do I need external services or libraries? =

No. The QR code generator is written entirely in PHP and requires no Composer, external API or additional libraries (only the standard PHP GD extension).

= Which vCard version is generated? =

The plugin generates vCard 3.0, compatible with iOS, Android, macOS and Windows.

= Can I have multiple business cards? =

Yes, there is no limit to the number of cards. Each card has its own unique URL.

= Does the NFC landing page work on all devices? =

Yes, the landing page is fully responsive and works on smartphones, tablets and desktops.

= How do I use the shortcode? =

Use `[vcard slug="first-last"]` on any page or post. The slug is automatically set based on the first and last name.

== Screenshots ==

1. Business cards overview in the WordPress dashboard
2. Contact details edit screen
3. Frontend card view
4. NFC landing page with QR code

== Changelog ==

= 3.0.0 =
* Security fixes: wp_unslash() added for all POST input before sanitization
* All phpcs escape-output warnings resolved
* readme.txt added (WordPress.org compatible, English)
* Tested up to WordPress 6.9

= 2.0.0 =
* Complete rewrite with built-in QR code generator (no external dependencies)
* NFC landing page added
* Download statistics added
* Shortcode style `compact` added
* Security improvements: wp_unslash() applied to all POST input

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 2.0.0 =
After updating, flush permalinks via Settings → Permalinks → Save Changes.
