[wordpress插件] Buzz this Button – Google official api按下此按钮-Google官方API

wordpress 插件 文章 2020-03-14 17:00 440 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin displays Buzz this button and you can set all allowed options (counter, language, style etc) inside plugin administration

此插件显示Buzz此按钮,您可以在插件管理中设置所有允许的选项(计数器,语言,样式等)

Features:

功能:

All this data will be autoamticly set

所有这些数据将自动设置

* data-message – The message or annotation that accompanies the Buzz post.

*数据消息– Buzz帖子随附的消息或注释。

By default, this is blank.

默认情况下为空白。

* data-url – The destination URL that will be posted to Buzz.

* data-url –将发布到Buzz的目标URL。

Omitting this parameter will cause this value to default to the current page.

省略此参数将导致该值默认为当前页面。

This should almost always be set when used on index or summary pages that contain multiple content entries.

在包含多个内容条目的索引页面或摘要页面上使用时,应该几乎总是设置此设置。

* data-imageurl – This is the URL of an image to attach to the Buzz post.

* data-imageurl-这是要附加到Buzz帖子上的图像的URL。

A thumbnail of the image will be displayed with the post.

图片的缩略图将随帖子一起显示。

* data-locale – The language code for the locale to use when displaying the UI for posting to Buzz.

* data-locale –显示要发布到Buzz的UI时使用的语言环境的语言代码。

This defaults to the value of the Accept-Language HTTP header that is sent by the visitor?s browser.

默认为访问者的浏览器发送的Accept-Language HTTP标头的值。

* data-button-style
     

*数据按钮样式
     

normal-count
     

正常计数
     

small-count
     

小数量
     

normal-button
     

普通按钮
     

small-button
     

小按钮
     

link

链接

Arbitrary section

任意部分

安装步骤

    1. Upload BuzzThisOfficial.php to the /wp-content/plugins/ directory
    2. BuzzThisOfficial.php 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. After activation, inside Plugins menu you will see ?Buzz this configuration?.

      激活后,在“插件”菜单中,您将看到“对此配置进行嗡嗡声”。

      Click on it and set up details: Where to display button, Align button, Button type, Display on Home page, Display on Pages, Set the language of your blog.

      单击它并设置详细信息:显示按钮的位置,对齐按钮,按钮类型,在主页上显示,在页面上显示,设置博客的语言。

    6. You can also place

      您还可以放置 <?php g_buzzthis();

      ?> in your templates

      ?> 在您的模板中

下载地址
https://downloads.wordpress.org/plugin/buzz-this-google-official-api-implementation.zip
-EOF-

AI助手支持GPT4.0