Title: Shakvaro EGF Reader Shortcode
Author: Shakil Ahamed
Published: <strong>2026 年 4 月 30 日</strong>
Last modified: 2026 年 4 月 30 日

---

搜尋外掛

![](https://ps.w.org/shakvaro-egf-reader-shortcode/assets/banner-772x250.png?rev
=3519407)

![](https://ps.w.org/shakvaro-egf-reader-shortcode/assets/icon-256x256.png?rev=3519407)

# Shakvaro EGF Reader Shortcode

 由 [Shakil Ahamed](https://profiles.wordpress.org/devshakil/) 開發

[下載](https://downloads.wordpress.org/plugin/shakvaro-egf-reader-shortcode.1.0.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/shakvaro-egf-reader-shortcode/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/shakvaro-egf-reader-shortcode/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/shakvaro-egf-reader-shortcode/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/shakvaro-egf-reader-shortcode/#developers)

 [技術支援](https://wordpress.org/support/plugin/shakvaro-egf-reader-shortcode/)

## 外掛說明

**Shakvaro EGF Reader Shortcode** lets you embed an EGF 1.1 interactive game player
directly inside any WordPress post or page using a simple shortcode. Upload your`.
egf` file to the Media Library, copy its URL, and drop the shortcode — the reader
renders in-place with built-in pause, score, about, and settings panels.

The reader is fully client-side: once rendered it loads the `.egf` package, unpacks
it, and plays the game without making any third-party calls.

This plugin is not affiliated with, endorsed by, or sponsored by the authors of 
the EGF (Educational Game Format) specification or egf-format.org. “EGF” refers 
to the open file format the reader supports.

#### Features

 * Simple `[egf_reader]` shortcode — no block editor required.
 * Allows uploading `.egf` files to the WordPress Media Library.
 * Built-in player UI: pause, score tracking, about-the-game, and audio/theme settings.
 * Interface available in 9 languages (English, French, Spanish, Portuguese, Chinese,
   Arabic, Hindi, Urdu, Russian) with automatic browser-language detection.
 * Light and dark themes.
 * Works on any theme — the reader is self-contained and style-scoped.

#### Shortcode parameters

 * `game` _(required)_ — URL of the `.egf` game file to load.
 * `lang` _(optional, default: `auto`)_ — interface language. Use `auto` to pick
   the best language from the visitor’s browser, or force one: `en`, `fr`, `es`,`
   pt`, `zh`, `ar`, `hi`, `ur`, `ru`.
 * `theme` _(optional, default: `light`)_ — `light` or `dark`.
 * `nocache` _(optional, default: `1`)_ — set to `0` to allow the browser to cache
   the `.egf` package.

#### Example

    ```
    [egf_reader game="https://your-site.com/wp-content/uploads/2025/04/my-game.egf" lang="auto" theme="light"]
    ```

## 安裝方式

 1. Upload the `shakvaro-egf-reader-shortcode` folder to the `/wp-content/plugins/`
    directory, or install the plugin through the WordPress Plugins screen.
 2. Activate the plugin through the **Plugins** screen in WordPress.
 3. Upload an `.egf` file to your **Media Library** and copy its URL.
 4. Insert the shortcode into any post or page:
     [egf_reader game=”https://your-site.
    com/wp-content/uploads/game.egf”]

## 常見問題集

### What is an EGF file?

EGF (Educational Game Format) 1.1 is an open package format for interactive games.
An `.egf` file is a zipped bundle containing the game’s scenes, assets, and metadata.

### Does the plugin send data to any external service?

No. The reader runs entirely in the visitor’s browser and loads the `.egf` file 
from your own server (or wherever you host it). No analytics, tracking, or third-
party requests are made by the plugin.

### The shortcode shows “missing game attribute” — why?

The `game` attribute is required and must point to the URL of your `.egf` file. 
Example:
 [egf_reader game=”https://your-site.com/wp-content/uploads/game.egf”]

### WordPress won’t let me upload my .egf file.

Activating the plugin whitelists the `.egf` extension in the Media Library. If you
still see a “Sorry, this file type is not permitted for security reasons” error,
your host may have additional restrictions — check with your hosting provider.

### Can I embed more than one game on the same page?

Yes. Each shortcode instance gets its own unique container and player state.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Shakvaro EGF Reader Shortcode〉的開發相關工作。

參與者

 *   [ Shakil Ahamed ](https://profiles.wordpress.org/devshakil/)

[將〈Shakvaro EGF Reader Shortcode〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/shakvaro-egf-reader-shortcode)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/shakvaro-egf-reader-shortcode/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/shakvaro-egf-reader-shortcode/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/shakvaro-egf-reader-shortcode/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/shakvaro-egf-reader-shortcode/)。

## 變更記錄

#### 1.0.1

 * First public release on WordPress.org.
 * Renamed plugin to “Shakvaro EGF Reader Shortcode” to clarify no affiliation with
   the EGF project.
 * Replaced `time()`-based asset cache-busting with a proper plugin version constant.
 * Added full plugin header (License, Text Domain, Requires PHP, Requires at least,
   Tested up to).
 * Added text domain and made all user-facing strings translatable.
 * Refactored template output to escape every dynamic value at the point of echo.

## 中繼資料

 *  版本 **1.0.1**
 *  最後更新 **3 週前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.2 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/shakvaro-egf-reader-shortcode/)
 * 標籤:
 * [embed](https://tw.wordpress.org/plugins/tags/embed/)[game](https://tw.wordpress.org/plugins/tags/game/)
   [interactive](https://tw.wordpress.org/plugins/tags/interactive/)[shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)
 *  [進階檢視](https://tw.wordpress.org/plugins/shakvaro-egf-reader-shortcode/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/shakvaro-egf-reader-shortcode/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/shakvaro-egf-reader-shortcode/reviews/)

## 參與者

 *   [ Shakil Ahamed ](https://profiles.wordpress.org/devshakil/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/shakvaro-egf-reader-shortcode/)