From 7086111ad4dd997e12a3220e1ee60c9b9bcf0bb8 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 7 Jan 2020 13:06:14 +0100 Subject: Added wordpress --- .../wp-content/themes/twentynineteen/image.php | 104 +++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 srcs/wordpress/wp-content/themes/twentynineteen/image.php (limited to 'srcs/wordpress/wp-content/themes/twentynineteen/image.php') diff --git a/srcs/wordpress/wp-content/themes/twentynineteen/image.php b/srcs/wordpress/wp-content/themes/twentynineteen/image.php new file mode 100644 index 0000000..5e08cf9 --- /dev/null +++ b/srcs/wordpress/wp-content/themes/twentynineteen/image.php @@ -0,0 +1,104 @@ + + +
+
+ + + +
> + +
+ ', '' ); ?> +
+ +
+ +
+ + +
+ +
+ + '', + 'link_before' => '', + 'link_after' => '', + 'pagelink' => '' . __( 'Page', 'twentynineteen' ) . ' %', + 'separator' => ', ', + ) + ); + ?> +
+ +
+ %1$s%3$s × %4$s', + _x( 'Full size', 'Used before full size attachment link.', 'twentynineteen' ), + esc_url( wp_get_attachment_url() ), + absint( $metadata['width'] ), + absint( $metadata['height'] ) + ); + } + ?> + + + +
+
+ + _x( 'Published in
%title', 'Parent post link', 'twentynineteen' ), + ) + ); + + // If comments are open or we have at least one comment, load up the comment template. + if ( comments_open() || get_comments_number() ) { + comments_template(); + } + + // End the loop. + endwhile; + ?> + +
+
+ +