[Plugin: Picasa Express x2] How to display in archive first 2 pictures from album
-
Hi,
I make web-site to my friend. We use one type of posts that are only for galleries – 1 per post with shortcode like: [pe2-gallery album=”….albumID….”].
How can I return in archive page only first 2 pictures from this gallery.
I think that can be something like
<?php if (function_exists('gallery_shortcode')) { gallery_shortcode($atts, $content); } else {echo 'Error in function gallery_shortcode';} ?>
But I’m a really noob with php and this time I’m not sure how to write it.
Tnx a lot.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: Picasa Express x2] How to display in archive first 2 pictures from album’ is closed to new replies.