[wordpress插件] DealSurf.com Daily DealsDealSurf.com每日特惠

wordpress 插件 文章 2020-04-13 22:00 490 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Display the list of all daily deals in the chosen city.

显示所选城市中所有每日交易的列表。

You must be an affiliate to use this plugin: http://affiliate.dealsurf.com.

您必须是会员才能使用此插件: http://affiliate.dealsurf.com

Read readme.txt to understand how to use it.

阅读readme.txt以了解其用法。

安装步骤

DealSurf Plugin Instructions.

DealSurf插件说明。

1/ Requirements

1 /要求

In order to install this plugin you need to: – Install “PHP Execution” that you can find in WordPress Plugins/search – Turn off tag balancing by unchecking “WordPress should correct invalidly nestedd XHTML automatically” in Settings>Writing of the

要安装此插件,您需要:–安装可在WordPress插件/搜索中找到的“ PHP执行” –通过在“设置”>中取消选中“ WordPress应自动更正无效的嵌套XHTML”来关闭标签平衡。

admin section.

管理部分。

2/ Show the deals for a specific city

2 /显示特定城市的交易

Copy an paste the code below to your HTML editor (not Visual)

将下面的代码粘贴粘贴到您的HTML编辑器(非Visual)

  <?php / * 

* 1/ Define your options * 

* 1 /定义您的选项* 

* city (Required): Filter your query by city.

*城市(必填):按城市过滤查询。

List of city code : http://api.dealsurf.com/doc/DealSurf/city/code * category (Optional): Filter your query by category.

城市代码列表:http://api.dealsurf.com/doc/DealSurf/city/code *类别(可选):按类别过滤查询。

(add multiple categories separated by "|").

(添加多个用“ |”分隔的类别)。

List of category code: http://api.dealsurf.com/doc/DealSurf/category/code * keyword (Optional): Filter your query by keywords (add multiple keywords separated by "|") * min_price (Optional): Filter

类别代码列表:http://api.dealsurf.com/doc/DealSurf/category/code *关键字(可选):按关键字过滤查询(添加多个用“ |”分隔的关键字)* min_price(可选):过滤器

your query by minimum price * max_price (Optional): Filter your query by maximum price * min_discount (Optional): Filter your query by minimum discount * max_discount (Optional): Filter your query by maximum discount * provider (Optional): Filter your query

按最低价格查询* max_price(可选):按最高价格过滤查询* min_discount(可选):按最低折扣过滤查询* max_discount(可选):按最大折扣过滤查询*提供者(可选):过滤查询

by providers (add multple providers separated by "|") List of provider code : http://api.dealsurf.com/doc/DealSurf/provider/code * provider_bl (Optional): Filter your query by providers you don't want

按提供者(添加多个提供者,用“ |”分隔)提供者代码列表:http://api.dealsurf.com/doc/DealSurf/provider/code * provider_bl(可选):按不需要的提供者过滤查询

(add multple providers separated by "|") List of provider code : http://api.dealsurf.com/doc/DealSurf/provider/code * filterbar (optional,default=1): display a filter sidebar on the left *

(添加多个由“ |”分隔的提供程序)提供程序代码列表:http://api.dealsurf.com/doc/DealSurf/provider/code *过滤器栏(可选,默认为1):在左侧显示过滤器侧栏*

headerfooter (optional,default=1): display a footer and header for the deals */    

headerfooter(可选,默认为1):显示交易的页脚和标题* /    

$options = array( "city" => "YOUR CITY CODE" );

$ options = array(“ city” =>“您的城市代码”);

$ds = new DealSurf("YOUR API KEY",$options);

$ ds = new DealSurf(“ YOUR API KEY”,$ options);

echo $ds->display_deals(); 

echo $ ds-> display_deals(); 

?>

?>

下载地址
https://downloads.wordpress.org/plugin/dealsurf.1.3.1.zip
-EOF-

AI助手支持GPT4.0