WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WordPress 淘宝客插件

WordPress淘宝客插件,能根据淘宝商品链接自动生成商品cps链接和掌柜店铺cps链接

在文章模板中怎么调用淘宝客数据?

本插件生成的淘宝客数据使用 post meta 进行储存,在模板中可以通过 get_post_meta($post_id, $key, $single) 函数进行调用。

例:

get_post_meta($post->ID,'TBK_item_url',true); //调用商品淘宝客链接
get_post_meta($post->ID,'TBK_item_img',true); //调用商品图片
get_post_meta($post->ID,'TBK_item_price',true); //调用商品价格
get_post_meta($post->ID,'TBK_shop',true); //调用掌柜名称
get_post_meta($post->ID,'TBK_shop_link',true); //调用店铺链接

Requires: 3.0 or higher
Compatible up to: 3.0.5
Last Updated: 2011-11-16
Downloads: 4,408

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1