Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $WP_THEME'S_PATH/taxonomy-media_tag.php
- ======================================================================
- <?php
- /**
- * The template for displaying Media Tag galleries.
- *
- * @package WordPress
- * @subpackage Twenty_Ten
- * @since Twenty Ten 1.0
- */
- get_header(); ?>
- <?php
- $year_term = get_query_var( 'term' );
- ?>
- <div id="container">
- <div id="content" role="main">
- <h1 class="page-title"><?php echo $year_term; ?> Media Archives</h1>
- <?php
- $opts = array (
- 'order' => 'DESC',
- 'orderby' => 'ID',
- 'size' => 'thumbnail',
- 'link' => 'file',
- 'include' => '',
- 'exclude' => '',
- 'template' => 'default',
- 'rel' => 1,
- 'tags' => $year_term,
- 'tags_from' => '',
- 'output_type' => 'html',
- 'output_params' => 1,
- 'limit' => -1
- );
- echo file_gallery_shortcode($opts);
- ?>
- </div>
- </div>
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment