Title: type: Multi (template)
Last modified: October 23, 2018

---

# type: Multi (template)

 *  [ttremain](https://wordpress.org/support/users/ttremain/)
 * (@ttremain)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/type-multi-template/)
 * I trying to make a template that can handle just a simple image and text, but
   for 1 to 3 items. [image here shows 2 items](https://imagebin.ca/v/4K3fcohUMqw1)
 * It took me a while, but I discovered the template needs to be a Template Type“
   multi”.
 * From the looks of other multi templates, some JS will be needed. I’m not finding
   any documentation or even references to this at all.
 * Any recommendations?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [ttremain](https://wordpress.org/support/users/ttremain/)
 * (@ttremain)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/type-multi-template/#post-10806152)
 * I’d go ahead and delete this if I could.
 * I created a multi template like this:
 *     ```
       <script type="text/javascript">
       amzn_assoc_placement = "adunit0";
       amzn_assoc_search_bar = "false";
       amzn_assoc_tracking_id = "%TAG%";
       amzn_assoc_ad_mode = "manual";
       amzn_assoc_ad_type = "smart";
       amzn_assoc_marketplace = "amazon";
       amzn_assoc_region = "US";
       amzn_assoc_title = "My Amazon Picks";
       amzn_assoc_linkid = "80e86bf226e6889b5bea4e1ed65d556d";
       amzn_assoc_asins = "%ASINS%";
       </script>
       <script src="//z-%REGION%.amazon-adsystem.com/widgets/onejs?MarketPlace=%MPLACE%"></script>
       ```
   
 * Then blocked out a couple things the client doesn’t want, using CSS.
 *  Plugin Author [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * (@paulstuttard)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/type-multi-template/#post-10807435)
 * You can put multiple ASIN’s in a shortcode and the plugin will automatically 
   create two instances of the template.
 * `[amazon asin=0123456789,9876543210&template=image]`
 * I also did an extra plugin that allowed you to embed one template inside another
   one, so you could do a container template then inside expand several smaller 
   templates. This was to create a ‘slider/carousel’ affect.
 * Based on jcarousel. So the container template was something like:
 * Name: Slider
    Type: Multi Content:
 *     ```
       <div class="slider_container">
        <div>%TEXT%</div>
        <div class="jcarousel">
         <ul>
          %T_SLIDER_ITEM%
         </ul>
        </div>
        <a href="#" class="jcarousel-control-prev">
          ‹
         </a>
         <a href="#" class="jcarousel-control-next">
          ›
         </a>
       </div>
       ```
   
 * Then it contains the Slider Item:
 * Name: Slider Item
    Type: Product Content:
 *     ```
       <li class="al_found%FOUND%">
         <div class="slider_img">
           %LINK_OPEN%<img alt="%TITLE%" title="%TITLE%" src="%THUMB%" class="slider_img">%LINK_CLOSE%
         </div>
         <div style="font-size:80%">
          <b>%ARTIST%</b></br>
          %TITLE%</bR>
          %RATING_LINK%</br>
          %LINK_OPEN%<img src="%BUY_BUTTON%">%LINK_CLOSE%
         </div>
       </li>
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘type: Multi (template)’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-link_070606.svg)
 * [Amazon Link](https://wordpress.org/plugins/amazon-link/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-link/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-link/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-link/reviews/)

## Tags

 * [ASIN](https://wordpress.org/support/topic-tag/asin/)

 * 2 replies
 * 2 participants
 * Last reply from: [paulstuttard](https://wordpress.org/support/users/paulstuttard/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/type-multi-template/#post-10807435)
 * Status: not resolved