Employee Business Cards
Create and share digital business cards for employees.
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/onabhani/simple-cards/archive/refs/heads/main.zipReadme
Employee Business Cards
Employee Business Cards is a production-ready WordPress plugin for creating public, shareable digital business cards for employees.
Installation
- Copy this repository's contents into
/wp-content/plugins/employee-business-cards/(the directory name must beemployee-business-cards). - Activate Employee Business Cards from the WordPress plugins screen.
- Go to Employee Cards in WP Admin.
Usage
Create Employee Card
- Open Employee Cards → Add New.
- Fill in Business Card Details fields:
- Full name, job title, department, company, contact details, social links, location, bio, profile photo, optional custom slug.
- Publish the card.
- Use the Public Card URL side box to open or share the card.
Settings
Go to Employee Cards → Settings and configure:
- Default company name
- Default website URL
- Enable QR code (enabled by default; reveals a "Show QR" button on the card)
- QR provider type:
- Local (server-side cached): plugin fetches and stores QR images in uploads and serves local URLs.
- External provider URL: plugin uses a direct external image URL pattern.
- QR code provider URL template (used only for External mode and must include
{url}) - Primary color
- Button style (rounded/square)
- Hide theme header & footer on card pages (enabled by default) — strips the active theme's header and footer when viewing a single employee card or any post that contains the
[employee_business_card]shortcode.
Shortcodes
Single card
[employee_business_card id="123"]
Grid of cards
[employee_business_cards]
Optional attributes:
[employee_business_cards company="Acme" department="Sales" limit="12" columns="3"]
vCard Download
Each public card includes a Save Contact button that downloads a .vcf file.
The endpoint format is:
?employee_card_vcf=POST_ID
Only published employee_card posts are valid.
Notes
- Uses secure sanitization, escaping, capability checks, and nonce verification.
- Rewrite rules are flushed only on plugin activation/deactivation.
- Public CSS/JS and admin assets are loaded only when needed.