[wordpress插件] DaWanda shop plugin大旺达商店插件

wordpress 插件 文章 2020-04-13 06:01 418 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

If you have an account at DaWanda and also a shop, you'll be able to include your products

如果您在 DaWanda 拥有一个帐户,并且还有一家商店,则可以包含您的产品

>

>

from DaWanda in (e.g.) your sidebar.

在(例如)您的侧边栏中来自DaWanda。

Features

功能

    • Widget-ready: As of version 2.0 you can use this Plugin as widget.
    • 支持小部件:从2.0版开始,您可以将此插件用作小部件。

    • Display the price (or display it not)
    • 显示价格(或不显示价格)

    • Prepared to use with a Lightbox plugin
    • 准备与灯箱插件一起使用

    • The plugin produces vaild (X)HTML output
    • 该插件产生有效的(X)HTML输出

    • It provides many CSS selectors
    • 它提供了许多CSS选择器

    • This shop plugin is also prepared for localization, English and German language are included
    • 此商店插件也已准备好进行本地化,包括英语和德语

    • To setup your plugin it provides an own configuration submenu
    • 要设置您的插件,它提供了自己的配置子菜单

    • Important: To grab the data from the DaWanda servers, your PHP installation must allow opening remote URL (allow_url_fopen) ans support SimpleXML (as of PHP 5)

    • 重要提示::要从DaWanda服务器中获取数据,您的PHP安装必须允许打开远程URL( allow_url_fopen )并支持SimpleXML(从PHP 5开始)

      li>

      li>

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

    1. Upload the directory dmke-dawanda to the /wp-content/plugins/ directory
    2. 将目录 dmke-dawanda 上载到 / wp-content / plugins / 目录

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

    5. Configure it through the ‘DaWanda Configuration’ submenu in ‘Plugins’
    6. 通过“插件”中的“ DaWanda配置”子菜单进行配置

    7. Wheather you will use the Template Tag, place

    8. 如果您要使用模板标签,请放置 <?php if(function_exists('dmke_dawanda_template_tag')){dmke_dawanda_template_tag();

      } ?> in your templates, e.g.

      }?> 在您的模板中,例如

      your sidebar.php.

      您的 sidebar.php

      Or configure it as widget.

    9. 或将其配置为小部件。

    You’ll be able to use CSS (optional)

    您将能够使用CSS(可选)

      1. Open your theme’s style.css to edit it (e.g. in the ‘Presentation’ menu in WordPress)
      2. 打开主题的 style.css 进行编辑(例如,在WordPress的“演示”菜单中)

      3. Add the following lines of code to the end:

        将以下代码行添加到末尾:

        /* DaWanda shop style */

        / *大万达店风格* /

        div.dmke-dawanda-item {

        div.dmke-dawanda-item {

        }

        }

        div.dmke-dawanda-item a.dmke-dawanda-picture-link {
            

        div.dmke-dawanda-item a.dmke-dawanda-picture-link {
            

        border: none;
            

        边框:无;
            

        display: block;

        显示:块;

        }

        }

        div.dmke-dawanda-item a.dmke-dawanda-picture-link img {
            

        div.dmke-dawanda-item a.dmke-dawanda-picture-link img {
            

        width: 160px;
            

        宽度:160像素;
            

        height: 120px;
            

        高度:120像素;
            

        border: none;

        边框:无;

        }

        }

        div.dmke-dawanda-item span.dmke-dawanda-price {
            

        div.dmke-dawanda-item span.dmke-dawanda-price {
            

        float: left;
            

        浮动:左;
            

        clear: right;
            

        清除:正确;
            

        width: 70px;

        宽度:70像素;

        }

        }

        div.dmke-dawanda-item a.dmke-dawanda-shop-link {
            

        div.dmke-dawanda-item a.dmke-dawanda-shop-link {
            

        float: right;
            

        浮动:正确;
            

        clear: both;
            

        清除:两者;
            

        width: 80px;

        宽度:80像素;

        }

        }

      4. Save your theme’s style.css
      5. 保存主题的 style.css

下载地址
https://downloads.wordpress.org/plugin/dawanda-shop-plugin.2.0.zip
-EOF-

AI助手支持GPT4.0