描述
This plugin creates a “Share to Google Classroom” for your posts or files with all the parameters as options.
Use: [share_to_google] to create a button that shares the current page to Google Classroom.
The following options exist:
url: the link you want to share (default: current post)
size: size of the button (default: 32)
theme: classic, light, or dark (default: classic)
title: the title of the post in Google Classroom (default: current post title)
itemtype: announcement, assignment, material, or question (default: assignment)
body: description of post in Google Classroom (default: blank)
You can also style the text that shows up after the button and the button itself.
The button is wrapped in a span with class “gclassroom” and the label is wrapped in a span with class “glcassroom_text.”
安装
Just upload the plugin and activate it.
贡献者及开发者
更新日志
1.0: Creates button with all the default parameters offered by Google.