WordPress.org

Ready to get started?Download WordPress

Forums

Previewing Galleries - using shorttag to show first 3 photos (1 post)

  1. deblaca
    Member
    Posted 5 years ago #

    Hi,

    I've got a site with a series of Galleries. I've currently got a page listing them (a custom query) which has the title, excerpt and a link to the gallery. Using <?php echo do_shortcode('[gallery]'); ?> I'm able to include the full gallery on this page, but would like to limit it to just the first 3 photos. Is this possible?

    I'm looking to do this:
    * List only category "gallery" (done)
    * Show title, excerpt, link (done)
    * Show first 3 photos from gallery (help!)

    Thanks,
    d

Topic Closed

This topic has been closed to new replies.

About this Topic