ospek / wp-anigrab
2.0.0
2019-01-12 17:31 UTC
Requires
- jikan-me/jikan: ~1.0
- mustache/mustache: ^2.12
Requires (Dev)
- johnpbloch/wordpress: ^4.9
- wp-phpunit/wp-phpunit: ^4.9
This package is auto-updated.
Last update: 2022-02-01 13:13:03 UTC
README
要求
安装
在终端中运行此命令
$ composer create-project grei/wp-anigrab path-to-wp-plugins/wp-anigrab --no-dev
$ cd path-to-wp-plugins/wp-anigrab && composer dump-autoload -o
$ wp plugin activate wp-anigrab
或从发布版下载installable.zip。
现在此插件也已在WordPress插件目录中可用wp-anigrab。
使用方法
将此短代码[anigrab=id]模板[/anigrab]或[mangrab=id]模板[/mangrab]放置在您的帖子中的任何位置
-
id: myanimelist 动漫/漫画 ID
-
模板:使用 dump 进行自动解析或模板引擎语法,例如
[anigrab=497]
title: {{title}}
etc
[/anigrab]
or
[mangrab=44]
title: {{title}}
etc
[/mangrab]
依赖
待办事项
-
实现imposter
-
添加更多功能