The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Multiple Post Thumbnails
[resolved] How use "$link_to_original" in the template? (2 posts)

  1. daveleeone
    Posted 5 years ago #

    I use the following code at the moment

    echo MultiPostThumbnails::the_post_thumbnail('post', 'image1', NULL, 'image1' , array('class' => 'Pic shadow')); ?>

    How can I implement in this example a link to the original Image whith the $link_to_original function?


  2. Daniele Raimondi
    Posted 5 years ago #

    Just in case you haven't found yet (or for other users needing the same info):

    link_to_original is the last optional parameter in the
    function call.

    So, taking the example code above just add another bool parameter at the end.

    echo MultiPostThumbnails::the_post_thumbnail('post', 'image1', NULL, 'image1' , array('class' => 'Pic shadow'),true); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multiple Post Thumbnails
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic