BASE Item List

Display BASE(https://thebase.in/) Item List by shortcode [BASE_ITEM]

Author:mt8.biz, shimakyohsuke (profile at wordpress.org)
WordPress version required:5.9
WordPress version tested:6.2.4
Plugin version:2.0.3
Added to WordPress repository:18-12-2015
Last updated:06-04-2023
Rating, %:80
Rated by:2
Plugin URI:https://github.com/mt8/base-item-list
Total downloads:8 925
Active installs:800+
plugin download
Click to start download

BASE商品情報をリスト表示するショートコード:[BASE_ITEM] を使用可能にします。

ショートコードパラメータ

  • q: 検索キーワード
  • order: 並び替え項目。list_order、modifiedのいずれか(未指定時: キーワードマッチ度順)
  • sort: 並び順。asc か desc のいずれか(未指定時: desc)
  • limit: 表示する商品数。 (MAX: 100)(未指定時:10)
  • cache: APIの結果をキャッシュする時間(秒)です。(未指定時:60)
  • name: 複数エリアに設置する場合に指定します。この名前をキーにキャッシュが作成されます。(未指定時:base_item_list)

出力テンプレート

デフォルトのテンプレートはプラグインディレクトリ内にある「/template/base_items.php」です。

有効化しているテーマフォルダ内にこのファイルをコピーすることでオリジナルの表示をさせることができます。

設定

管理画面 -> BASE Item Listより、BASE APIのアプリ情報を設定して下さい。

※ BASE APIは事前に申請が必要です。https://developers.thebase.in/


FAQ
ChangeLog