summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/widgets/flickr/widget.php')
-rw-r--r--plugins/jetpack/modules/widgets/flickr/widget.php34
1 files changed, 10 insertions, 24 deletions
diff --git a/plugins/jetpack/modules/widgets/flickr/widget.php b/plugins/jetpack/modules/widgets/flickr/widget.php
index 15b9214a..0c45f3f0 100644
--- a/plugins/jetpack/modules/widgets/flickr/widget.php
+++ b/plugins/jetpack/modules/widgets/flickr/widget.php
@@ -1,27 +1,13 @@
<!-- Start of Flickr Widget -->
-<table
- border="0"
- cellpadding="0"
- cellspacing="0"
- class="flickr-size-<?php echo esc_attr( $instance['flickr_image_size'] ); ?>"
- id="flickr_badge_uber_wrapper"
->
- <tr>
- <td>
- <table border="0" cellpadding="0" cellspacing="10" id="flickr_badge_wrapper">
- <tr>
- <td align="center">
- <?php echo $photos; ?>
+<div class="flickr-wrapper flickr-size-<?php echo esc_attr( $instance['flickr_image_size'] ); ?>">
+ <div class="flickr-images">
+ <?php echo $photos; ?>
+ </div>
- <?php if ( isset( $flickr_home ) ) { ?>
- <a href="<?php echo esc_url( $flickr_home, array( 'http', 'https' ) ); ?>">
- <?php esc_html_e( 'More Photos', 'jetpack' ); ?>
- </a>
- <?php } ?>
- </td>
- </tr>
- </table>
- </td>
- </tr>
-</table>
+ <?php if ( isset( $flickr_home ) ) { ?>
+ <a class="flickr-more" href="<?php echo esc_url( $flickr_home, array( 'http', 'https' ) ); ?>">
+ <?php esc_html_e( 'More Photos', 'jetpack' ); ?>
+ </a>
+ <?php } ?>
+</div>
<!-- End of Flickr Widget -->