Answer the question
In order to leave comments, you need to log in
How to display all portfolio projects of Unyson?
It is not possible to display all portfolio projects on the Unyson plugin page. There is no portfolio icon in the page builder, how can I add it there? I tried to insert a function from the documentation on the page that displays a list of projects
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : ?>
<?php $gallery = fw_ext_portfolio_get_gallery_images(); ?>
<ul class="gallery">
<?php foreach( $gallery as $image ) : ?>
<li>
<a href="<?php echo get_permalink($image['attachment_id'])?>">
<img src="<?php echo $image['url'] ?>" alt=""/>
</a>
</li>
<?php endforeach ?>
</ul>
<?php endwhile ?>
<?php endif ?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question