-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changes to the way galleries are displayed, including a beautiful att…
…achment page
- Loading branch information
Showing
5 changed files
with
185 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php get_header(); ?> | ||
<div id="attachments"> | ||
<div class="image"> | ||
<?php echo wp_get_attachment_image($attachment_id, 'full', $icon, $attr); ?> | ||
</div> | ||
<div class="download-links"> | ||
<a href="<?php echo wp_get_attachment_url( $id ); ?>" download> | ||
<span style="color:#444; font-size:2em; padding:0.5em; float:right;" class="team1160-download-outline"></span> | ||
</a> | ||
<div class="clear"></div> | ||
</div> | ||
<div class="clear"></div> | ||
</div> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -458,5 +458,7 @@ | |
</div> | ||
<div class="clear"></div> | ||
|
||
<?php } | ||
?> | ||
<?php } elseif (is_page_template('attachment.php')) { | ||
|
||
} | ||
?> |
Oops, something went wrong.