该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Responsive P5JS for WP

描述

Embed your P5JS sketches in posts and pages in a responsive way

1. Create a new sub-directory in the /uploads/p5js/ directory (using FTP):

2. Upload all files and directories (index.html, scetch.js, libraries, etc) of your P5JS sketch to the new WordPress /uploads/p5js/[sketch_folder] directory.

3. Add a short code to your post or page

Attributes
sketchfolder: the name of your P5JS sketch (REQUIRED)
canvaswidth: the width of the sketch, should be the same as in your creattecanvas() statement (REQUIRED)
canvasheight: the height of the sketch, should be the same as in your creattecanvas() statement (REQUIRED)
bordersize: size of the border in pix (OPTIONAL, default: 0px)
bordercolor: color of the border around the sketch (OPTIONAL, default: no border, only works when you also define a bordersize)

Author

CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands – http://cagewebdev.com – http://rvg.cage.nl

Plugin URL

http://cagewebdev.com/responsive-p5js-for-wp-wordpress-plugin/

Download URL

Responsive P5JS for WP

Disclaimer

NO WARRANTY, USE IT AT YOUR OWN RISK!

Plugins by CAGE Web Design | Rolf van Gelder

WordPress plugins created by CAGE Web Design | Rolf van Gelder
http://cagewebdev.com/category/news-tech-art/wordpress/

安装

  • Upload the Plugin to the ‘/wp-content/plugins/’ directory
  • Activate the plugin in the WP Admin Panel » Plugins

常见问题

How can I change the settings of this plugin?

  • This plugin doesn’t need any settings

评价

阅读所有2条评价

贡献者及开发者

“Responsive P5JS for WP” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Responsive P5JS for WP”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

v1.1.3 [07/17/2021]

  • BUG FIX: adjusted the timer

v1.1.2 [07/16/2021]

  • BUG FIX: timing issue fixed

v1.1.1 [04/17/2021]

  • BUG FIX: some bugs were fixed

v1.0 [01/28/2019]

  • Initial release