WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Tiled Gallery in TwentyTwelve Header? (2 posts)

  1. Rand HOPPE
    Member
    Posted 1 year ago #

    Is it possible to call a tiled gallery in a 2012 child theme's header.php? I'd want it only on the home page, so I suppose is_front_page would have to be involved?

    Thanks.

    http://wordpress.org/extend/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    You can use Tiled Galleries with all galleries using the [gallery] shortcode. You can use do_shortcode to insert a gallery in your template file, like so:

    <?php echo do_shortcode( '[gallery type="rectangular" ids="1242,1226,1225,1222,1221"]' ); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.