=== Universal Reblog & Republish ===
Contributors: cyberziptech
Donate link: https://cyberzip.in/
Tags: reblog, republish, social share, share button, open graph
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Allow readers and visitors to reblog, share, and republish articles across top social networks or as credited drafts directly in WordPress.

== Description ==

**Universal Reblog & Republish** is a complete, lightweight, and modern WordPress plugin that allows visitors to share or republish your articles across major platforms or create authorized draft reposts with automatic attribution and user commentary.

* **Automatic & Manual Placements:**
  * **Default Placement:** Inline after post content (Recommended).
  * **Customizable Placements:** After post content, Before post content, Both before & after, or Manual.
  * **Button Styles:** Modern Gradient, Solid Flat, Outline/Ghost, and Rounded Pill.
* **One-Click Reblog & Share Modal:** Responsive, beautiful popup with zero external CSS/font dependencies (100% self-contained inline SVG icons).
* **9 Supported Sharing Platforms:**
  1. **Facebook** – Rich Open Graph preview sharing.
  2. **X / Twitter** – Dynamic tweet intent with post title & URL.
  3. **LinkedIn** – Professional network sharing.
  4. **WhatsApp** – Direct messaging with title & URL.
  5. **Telegram** – Instant Telegram channel/chat broadcast.
  6. **Pinterest** – Automatic featured image + description pinning.
  7. **Email** – Pre-filled subject, excerpt, and link via default mail client.
  8. **Copy Link** – Instant clipboard copy with animated "✓ Link Copied!" feedback.
  9. **Native Web Share API** – Device-level native share sheet (perfect for iOS & Android).
* **True WordPress Republish / Repost:**
  * Logged-in users with post creation capability can click **Republish This Article**.
  * Adds an optional user commentary block on top.
  * Formats a clean attribution block featuring original author name, site name, and link back to the source.
  * Automatically creates a new `draft` post and redirects the user directly to the WordPress editor.
* **Smart Open Graph & Twitter Cards:**
  * Generates `og:type`, `og:title`, `og:description`, `og:url`, `og:image`, and `og:site_name`.
  * Generates Twitter Cards (`summary_large_image`).
  * **Intelligent SEO Plugin Detection:** Automatically detects Yoast SEO, Rank Math, All in One SEO, SEOPress, and The SEO Framework to avoid duplicate meta tags.
* **Gutenberg Block & Shortcode:** Place the button anywhere with `[universal_reblog]` or using the "Universal Reblog Button" block.
* **Modular Settings Page:** Tabbed admin settings for General, Platforms, Republish, Open Graph, Appearance, and Advanced options.

== Installation ==

1. Upload the `universal-reblog-republish` folder to your `/wp-content/plugins/` directory (or upload the `.zip` archive via **Plugins > Add New > Upload Plugin**).
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Configure your preferences under **Settings > Universal Reblog & Republish**.

== Frequently Asked Questions ==

= Does this plugin conflict with Yoast SEO or Rank Math? =
No. The plugin includes built-in SEO plugin detection and automatically disables its own Open Graph output when a recognized SEO plugin is active.

= Can visitors republish full articles to other external WordPress sites? =
The built-in Republish feature creates an authorized draft with proper backlink attribution for logged-in contributors/authors on the current WordPress site. External sharing across the web is facilitated via the 9 social platform share actions.

= Can I place the button manually inside custom layouts? =
Yes! Use the shortcode `[universal_reblog]` or use the Gutenberg block.

== Screenshots ==

1. Modern Reblog & Share popup modal with 9 social platforms.
2. Republish tab with user commentary and attribution preview.
3. Comprehensive WordPress admin settings page with live controls.

== Changelog ==

= 1.0.0 =
* Initial release with full social sharing, republish drafts, smart Open Graph generation, and Gutenberg block.
