Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plopfolio - Easy portfolio - Support
#10
Hello,

I try this plugin and works on GS 3.3.

I try to explain how to add this in your template.

After setup the plugin, make een new template in your theme (ex.: portfolio.php)

Paste this code snippet in your new template:

Code:
<?php
$entriesSorted = returnPortfolioEntries();
foreach ($entriesSorted as $entry) {
  echo '<h3>'.$entry['name'].'</h3>';
  echo '<img src="'.$entry['thumb'].'"/>';
}
?>

(In this example I work with 2 variables: $entry['name'] and $entry['thumb'] )

After that, add a new page and use the portfolio.php template.

Test it Wink

Regards,
Christophe
Reply


Messages In This Thread
RE: Plopfolio - Easy portfolio - Support - by tuxy - 2014-12-26, 21:36:49



Users browsing this thread: 1 Guest(s)