Skip to content

Instantly share code, notes, and snippets.

@JeffreyWay
Created April 15, 2011 02:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JeffreyWay/920995 to your computer and use it in GitHub Desktop.
Save JeffreyWay/920995 to your computer and use it in GitHub Desktop.
<?php
require 'Envato_marketplaces.php';
$Envato = new Envato_marketplaces();
$c = $Envato->collection(877517); // replace with collection id (see url on collection page)
foreach($c as $item) : ?>
<li>
<a href="<?php echo $item->url . '?ref=yourUsername';?>">
<?php echo $item->item; ?>
</a>
</li>
<?php endforeach; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment