WordPress.org

Forums

Flickr Gallery Template Tags instead of Shortcodes (2 posts)

  1. Rebecca Markowitz
    Member
    Posted 5 years ago #

    I see that someone asked how to use the shortcode in the template but since that didn't work, I need template tags, something like <?php flickergallery('photoset-324893740237'); ?>
    To be used outside of the loop.
    If anyone could give some tips on how to do that, it would be incredible! Thank you!
    Rebecca

  2. noyu
    Member
    Posted 5 years ago #

    I'm also looking at how to use the shortcodes in the template files since that will give me more options to customize how to display my thumbnails.

    Any luck or updates on this?
    cheers

    --edit--

    as mentioned in a previous thread, use:
    <?php echo do_shortcode('[shortcode]') ?>

    i.e
    <?php echo do_shortcode('[flickr-gallery]') ?>

    it seems to work on my template file.

Topic Closed

This topic has been closed to new replies.

About this Topic