# Future Plan - Affiliate Quick Link Shortcode for DMM

## Planned Features

### 🔧 Plugin Options Page

- GUI for setting default affiliate ID and API key (✔️ implemented)
- Separate options per plugin instance to avoid conflicts when both v1.2.x and v1.3.x are enabled

### 🧠 API Response Caching

- Use WordPress Transients API to cache results for 6–24 hours

### 📸 Additional Output Layouts

- Template variations for image grid, captioned boxes, etc.

### 🧩 Gutenberg Block Support

- Add native block with field UI for CID, AID, size, affiliate ID, and link_only option

### 🔐 Security Enhancements

- Validate/escape all shortcode attributes and remote API responses strictly

### 🌐 Multilingual Support

- Add `.pot` and `.po` files for i18n compatibility

### 🧪 Unit Testing

- Add unit tests to validate rendering and API integration

### 🆕 Floating Banner Customization (v1.4.1+)

- Allow more advanced floating banner options (custom animation, position, close behavior)
- UI for setting show_at/delay/z-index from admin panel
- More flexible body injection/placement logic
- Accessibility improvements (ARIA, keyboard navigation)
- Option to disable floating banner on mobile or specific pages

## Community Requests

- Support for other DMM categories (e.g., books, games)
- Fallback images or text when CID/AID not found
- Add `title_only` and `link_text` shortcode options

---

If you'd like to contribute or suggest features, visit:
https://trok.co.jp/plugins/affiliate-quick-link-dmm/
