My favorites | Sign in
Project Home Downloads Wiki Issues
Project Information
Members
Featured
Downloads
Wiki pages

Overview

List child attachments is compatible with Wordpress 2.6.x and has not been tested with prior versions of WP.

This plugin adds a TemplateTag and a Shortcode that can generate a list of the attachments of a post or a page. The attachments of a post are created when you add a media/image writing in your HTML editor.

See the Screenshots


Installation

  1. Upload the plugin in your plugins directory
  2. Activate the plugin
  3. Start using the Shortcode or the TemplateTag.

Configuration / Usage

See the DefaultConfiguration for the plugin.

In your themes, you can use the TemplateTag function. In the text content of a page or post, you can use the Shortcode.

See the all the Examples.


Generated HTML

This will generate HTML like this :

<div id="attachments-POSTID" class="attachments">
  <h3>Download</h3>
  <ul>
    <li class="###FILE1_TYPE###"><a href="###URLFILE1###">###FILE1_TITLE###</a>
      <p class="date-modified">###DATE###</p>
      <p class="description">###DESCRIPTION OR CAPTION###</p>
    </li>    
    <li class="###FILE2_TYPE###"><a href="###URLFILE2###">###FILE2_TITLE###</a>
      <p class="date-modified">###DATE###</p>
      <p class="description">###DESCRIPTION OR CAPTION###</p>
    </li> 

    [...more files...]

  </ul>
</div>

Please consider donating

Powered by Google Project Hosting