-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
99 lines (72 loc) · 3.92 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
=== Affiliate Product Highlights ===
Contributors: koen12344
Donate link: https://koenreus.com
Tags: tradetracker, adtraction, affiliate, feed, products
Requires at least: 5.1
Tested up to: 6.6.1
Requires PHP: 7.0
Stable tag: 0.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
A beautiful way to display products from affiliate network product feeds on your website. Currently supports Daisycon, TradeTracker and AdTraction.
== Description ==
With the **Affiliate Product Highlights** plugin for WordPress you can create beautiful in-content sections showing relevant
products from product feeds of various affiliate networks.
Networks currently supported:
* AdTraction
* TradeTracker
* Daisycon
**Features:**
* **Automatic product feed import**: Product feeds are updated daily for up-to-date pricing and product availability
* **Cloaked links**: Affiliate links are redirected through your own website URL
* **Fast & efficient**: Product data is stored locally, product images are sideloaded and optimized
* **Flexible shortcode**: Show random products, specific products, search by (partial) product name
See the plugin in action [here](https://projectplatenspelers.nl/).
[](https://twitter.com/KoenReus)
== Installation ==
1. Download [the latest version](https://github.com/koen12344/affiliate-product-highlights/releases/latest)
1. Upload the plugin through 'Plugins' > 'Add New' > 'Upload plugin' in your WordPress Dashboard
1. Add one or more affiliate product feeds through 'Affiliate Product Highlights' > 'Feeds'
1. Place the [product-highlights] shortcode wherever you want to display your affiliate products using attributes below
### Supported shortcode attributes
* `selection`: An ID of a selection of products generated through 'Affiliate Product Highlights' > 'Selections'
* `limit`: The amount of products that should be displayed (default: 6)
* `product_ids`: Display specific product IDs. Separated by a comma, e.g. 123,323,312 (currently no easy way to get these IDs apart from going into PHPMyAdmin)
* `search`: Show only products containing this word or sentence in their title (may be inefficient with a lot of products in the database)
* `random`: Randomize the results
#### Examples
* `[product-highlights selection=107]`: Show products from the selection with ID 107
* `[product-highlights selection=107 limit=1 random=1]`: Show a single random product from the selection with ID 107
* `[product-highlights product_ids="2304,2306,2307,665"]`: Show products with specific IDs
### Styling
The plugin comes with minimal styling that can be easily adjusted with some custom CSS.
* `phft-products-multiple` (div): Wrapper class around all products (if the `limit` parameter is higher than 1)
* `phft-product` (div): Product wrapper class
* `phft-product-image` (div): Product image wrapper (contains a > img)
* `phft-product-description` (div)
* `phft-product-price` (div)
* `phft-button-link` (a): The call-to-action button
Colors can be adjusted by overriding the default CSS variables:
* `--phft-button-text-color`: Button text color (default: #fff)
* `--phft-button-background-color`: Button background color (default: #611431)
* `--phft-button-hover-color`: Button hover color (default: #363636)
* `--phft-product-border-color`: Color for the border around the individual products
== Frequently Asked Questions ==
== Screenshots ==
1. Plugin in action on the frontend
2. Making a selection of specific products
== Changelog ==
= 0.2.0 =
* Added: Uninstall function
* Added: Daisycon support
* Added: Shortcode for direct links to products
* Improved: SQL logic
= 0.1.1 =
* Added: Product ID and Feed in selection section
* Added: AdTraction sale price
* Fix: product_ids parameter
* Fix: selection logic
* Fix: AdTraction prices above 999
= 0.1.0 =
* Initial public alpha release
== Upgrade Notice ==