[wordpress插件] Buy a Brick买砖头

wordpress 插件 文章 2020-03-14 12:40 443 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin loads an XML file specifying different “bricks” used to make up a fundraising image map and generates a dynamic CSS image map based on the XML file for use as a fundraising meter within pages, posts, and more.

此插件加载一个XML文件,该文件指定用于构成筹款图像图的不同“砖”,并基于XML文件生成动态CSS图像图,用作页面,帖子等中的筹款工具。

p>

>

Features:

功能:

    • Loads XML file and displays it as a form within the Administrator panel for editing
    • 加载XML文件并在“管理员”面板中将其显示为表单以供编辑

    • Saves edited XML file
    • 保存已编辑的XML文件

    • Parses XML file to generate dynamic image map, with opaque squares representing “bricks” that are not yet purchased and transparent squares representing “bricks” that have been purchased.
    • 解析XML文件以生成动态图像地图,其中不透明的正方形代表尚未购买的“砖”,而透明的正方形代表已购买的“砖”。

    • Each brick has a hover button popup that directs the user to a donation page, shopping cart, etc.
    • 每块积木都有一个悬停按钮弹出窗口,可将用户定向到捐赠页面,购物车等。

    • Completely customizable background image, XML file, popup image, and more
    • 完全可自定义的背景图像,XML文件,弹出图像等

    For support and further information about the Buy-a-Brick plugin see the plugins homepage at http:

    有关Buy-a-Brick插件的支持和更多信息,请参见 http:上的插件主页:

    //www.ghtech.org/tools/plugins.html.

    //www.ghtech.org/tools/plugins.html 。

    Plugin Official Site

    插件官方网站

    If you have questions about installation or use of this plugin, please visit the official plugin site.

    如果您对安装或使用此插件有疑问,请访问官方插件站点

安装步骤

    1. Create and upload the sprite image, popup image, and XML file for use with the plugin.

      创建并上传精灵图片,弹出图片和XML文件,以供插件使用。

      See the official plugin site for details on how to do this, especially if you will be linking

      有关如何执行此操作的详细信息,请参见官方插件站点,尤其是在要链接的情况下

      to Paypal from your image map.

      从您的图片映射到Paypal。

    2. Edit the brickstatic.css file to match your WordPress theme or fundraising page.

      编辑 brickstatic.css 文件以匹配您的WordPress主题或筹款页面。

      Replace the existing CSS file in the .zip file with the file you edited.

      将.zip文件中的现有CSS文件替换为您编辑的文件。

    3. Install and activate the Buy-a-brick plugin as normal.

      正常安装并激活Buy-a-brick插件。

    4. Select the Buy-a-Brick Settings under the Options admin menu and fill out the form with the correct information.

      在“选项”管理菜单下选择“砖头购买设置”,然后在表格中填写正确的信息。

    5. Install, activate, and configure exec-PHP or another plugin that allows the execution of PHP code in

      安装,激活和配置 exec-PHP 或其他允许在其中执行PHP代码的插件

      WordPress posts and pages.

      WordPress帖子和页面。

    6. Edit the header.php file for the WordPress theme you are using.

      编辑您正在使用的WordPress主题的header.php文件。

      Add the following lines somewhere above the tag:

      标记上方的位置添加以下几行:

      official plugin page for more details.

      有关更多详细信息,请参见官方插件页面

        1. In the page, post, etc. where you want the image map to appear, add the following code:

          在您要显示图像地图的页面,帖子等中,添加以下代码:

下载地址
https://downloads.wordpress.org/plugin/buy-a-brick.1.1.zip
-EOF-

AI助手支持GPT4.0