Use the portfolio of the theme widget
and it is very easy to set up and use
I wanted to change it to display directly
the image in a lightbox and not opening the post.
I installed the plugin dFactory Lighbox
I opened the file in acme-portfolio.php
wp-content / themes / mercantile.2.0.1 / acmethemes / sidebar-widget
and I added the code data-rel=”lightbox”
<div class="portfolio-item <?php echo esc_attr( $mercantile_column ); ?>">
<div class="portfolio-inner-item <?php echo esc_attr( $animation1 );?>">
<div class="at-middle">
<a href="<?php the_permalink();?>" data-rel="lightbox" class="round-icon"><i class="fa fa-link" aria-hidden="true"></i></a>
<h3>
<a title="<?php the_title_attribute(); ?>" href="<?php the_permalink(); ?>" data-rel="lightbox">
<?php the_title(); ?>
</a>
</h3>
</div>
but it does not work
can you suggest any changes
thank you
-
This topic was modified 7 years, 8 months ago by gruis28.
-
This topic was modified 7 years, 8 months ago by gruis28.
-
This topic was modified 7 years, 8 months ago by gruis28.