WP Manifestindependent plugin directory
manifest / content / gs-demo-dog

Dog API demo

This is a sample plugin to receive Dog API data.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/ko31/gs-demo-dog/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Dog API の画像を表示する WordPress プラグインのサンプルです。

ショートコード

下記のショートコードを記述すると犬の画像が表示されます。

[gs-dogs]

breed(犬種。デフォルト:shiba)、count(表示件数。デフォルト:1)属性を指定することができます。

[gs-dogs breed=beagle count=5]

breed に指定できる値は Breeds list を参照ください。