Activate Affiliate Press plugin through 'Plugins WordPress.
To load the products into template you can use this code. $posts = get posts ) foreach { setup postdata the title the post thumbnail the content if ) { $ap = new LDB Affiliate Press echo $ap->AP getPrices } }.
If you'd rather retrieve just the data and not the pre-formatted table you can use the following code. if ) { $ap = new LDB Affiliate Press $data = $ap->AP getPrices }.
To achieve this you'll have to add something along the lines of the code below to your themes function.php. function my get posts { if && $query->is main query ) $query->set ) return $query }..
Why aren't the images from the feed being attached to the post..
Most of the functionality is still subject to change and I hope to bring some more features to the plugin.
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Added the currency to the price for the front-end..
Switched from POST to GET methods on the feed and item index pages to allow entry of page numbers for the pagination..
The number of prices linked to product is now shown on the products index page.. 0.2.1.
Read more