
內容簡介
Yova Game Cards for ludoteca.dev 是一款 WordPress 外掛,讓使用者能夠輕鬆地將 ludoteca.dev 的遊戲頁面 URL 嵌入,並自動顯示遊戲卡片,包括標題、封面、簡介及購買連結,提升網站的遊戲資訊展示。
【主要功能】
• 自動生成遊戲卡片
• 支援多種 URL 格式
• 透過短碼輕鬆嵌入
• 即時從 ludoteca.dev 獲取資料
• 本地快取資料以減少流量
• 連接多個遊戲商店的 API
外掛標籤
開發者團隊
② 後台搜尋「Yova Game Cards for ludoteca.dev」→ 直接安裝(推薦)
原文外掛簡介
Yova Game Cards for ludoteca.dev lets any WordPress author paste the URL of a video game page on ludoteca.dev, an international video game database, and automatically display a card with:
Title and release year
Cover art
Short description
Developer, publisher and country of origin (when known)
Direct links to the stores where the game can be bought
Usage via shortcode:
[ludoteca_juego url="https://ludoteca.dev/juego/hades"]
[ludoteca_juego url="https://ludoteca.dev/id/LDT-1234"]
[ludoteca_juego url="https://store.steampowered.com/app/1145360/Hades/"]
[ludoteca_juego id="LDT-1234"] (the ludoteca.dev id, LDT-
[ludoteca_juego steam="1145360"]
If a game is not in ludoteca.dev yet, using its Steam URL creates its page on the fly (it may take a few minutes to be ready).
or via the “Game Card (ludoteca.dev)” Gutenberg block, by pasting the URL in the block settings panel. Pasting a ludoteca.dev or Steam store game URL on its own line in the block editor converts it into the block automatically.
Data is fetched live from a public ludoteca.dev endpoint and cached locally (12 hours) to avoid unnecessary traffic.
External services
This plugin connects to the ludoteca.dev API (https://ludoteca.dev/api/v1/juego/, https://ludoteca.dev/api/v1/id/ or https://ludoteca.dev/api/v1/steam/) to retrieve the public data of the game whose URL, id or slug the author has entered. Only that slug, numeric id or Steam appid is sent; no personal data about the site or its visitors is transmitted. The request is made from the WordPress server when the card is rendered and its result is cached for 12 hours.
Cover images are loaded by the visitor’s browser from ludoteca.dev (lightweight WebP copies). Only if ludoteca.dev does not respond, the browser falls back to the original image on the store’s CDN (Steam, Nintendo…).
Credits
Store icons: Steam, Epic Games, GOG, itch.io, PlayStation, App Store and Google Play from Simple Icons (https://simpleicons.org, CC0 1.0). Xbox from Font Awesome Free (https://fontawesome.com, CC BY 4.0). The Nintendo icon is a generic handheld console drawn for this plugin. All trademarks belong to their respective owners.
