Extension:YotpoReviews
If you are using version 0.3 or earlier of this extensions you are advised to immediately upgrade to the recent version of this extension to mitigate a security vulnerability.
![]() リリースの状態: 安定 |
|
---|---|
![]() |
|
実装 | タグ |
説明 | Adds the <yotporeviews> tag that inserts the Yotpo reviews system |
作者 | Sophivorusトーク |
最新バージョン | 0.4 (2018-09-01) |
MediaWiki | 1.25+ |
PHP | 5.3+ |
データベースの変更 | いいえ |
ライセンス | GNU 一般公衆利用許諾書 3.0 以降 |
ダウンロード | |
例 | [1] |
$wgYotpoAppKey |
|
<yotporeviews> |
|
Quarterly downloads | 0 (Ranked 172nd) |
translatewiki.net で翻訳を利用できる場合は、YotpoReviews 拡張機能の翻訳にご協力ください | |
The YotpoReviews extension adds a <yotporeviews>
tag that allows to insert the Yotpo reviews system to any page.
インストール
- ダウンロードして、ファイルを
extensions/
フォルダー内のYotpoReviews
という名前のディレクトリ内に配置します。 - 以下のコードを
LocalSettings.php
の末尾に追加します:wfLoadExtension( 'YotpoReviews' ); $wgYotpoAppKey = 'your-yotpo-app-key';
- 完了 – ウィキの「Special:Version」に移動して、拡張機能が正しくインストールされたことを確認します。
使用法
To insert a Yotpo review system into any page, simply edit the page add the following tag to the wikitext:
<yotporeviews />
You can also modify the width, height and alignment of the reviews by setting the following parameters (showed with their default values):
<yotporeviews width="100%" height="100%" align="center"></yotporeviews>