=== Linkfuse ===
Contributors: linkfuse
Tags: affiliate, links, product display, embed, shortcode
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed Linkfuse product displays on your WordPress site using a simple shortcode.

== Description ==

Linkfuse is a link management and affiliate marketing platform. This plugin allows you to embed product displays from your Linkfuse account directly into your WordPress posts and pages using a simple shortcode.

= Features =

* Simple shortcode syntax: `[linkfuse id="your-link-id"]`
* Built-in caching to reduce calls to Linkfuse API
* Configurable cache duration
* Automatic fallback to cached content if API is unavailable

= Usage =

1. Create a product display in your Linkfuse account
2. Copy the link ID
3. Add the shortcode to your post or page: `[linkfuse id="your-link-id"]`

= Requirements =

* WordPress 6.0 or higher
* PHP 7.4 or higher
* A Linkfuse account ([sign up at linkfuse.net](https://www.linkfuse.net))

== Installation ==

1. Upload the `linkfuse` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to Settings > Linkfuse to configure the plugin (optional)

== Frequently Asked Questions ==

= How do I get a link ID? =

Log in to your Linkfuse account, create or select a link, and copy its ID from the link details page.

= Can I customize the cache duration? =

Yes, go to Settings > Linkfuse and adjust the Cache Duration setting. The default is 3600 seconds (1 hour).

= What happens if the Linkfuse API is unavailable? =

The plugin will automatically serve cached content if available. If no cached content exists, nothing will be displayed.

= Is this plugin SEO-friendly? =

Yes, the plugin fetches and renders the HTML server-side, making the content fully visible to search engines.

== Screenshots ==

1. Settings page with configuration options
2. Shortcode usage example in the block editor

== Changelog ==

= 1.0.0 =
* Initial release
* Shortcode support for embedding product displays
* Configurable caching
* Admin settings page

== Upgrade Notice ==

= 1.0.0 =
Initial release of Linkfuse for WordPress.
