2014-12-26, 21:36:49
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:
(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
Regards,
Christophe
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
Regards,
Christophe