-
Notifications
You must be signed in to change notification settings - Fork 0
/
geo-mashup-full-post.php
43 lines (31 loc) · 1.14 KB
/
geo-mashup-full-post.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/**
* Geo Mashup Full Post Template.
*
* This is a copy of the default template for full post display of a clicked
* marker in a Geo Mashup map. See "full-post.php" in your geo-mashup-custom
* directory.
*
* @since 1.0.0
* @package CommentPress_SOF
*/
// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;
?>
<!-- geo-mashup-full-post.php -->
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : ?>
<?php the_post(); ?>
<h2><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<p class="meta"><span class="blogdate"><?php the_time( 'F jS, Y' ); ?></span> <?php the_category( ', ' ); ?></p>
<?php if ( function_exists( 'has_post_thumbnail' ) && has_post_thumbnail() ) : ?>
<?php the_post_thumbnail( 'medium' ); ?>
<?php endif; ?>
<div class="storycontent">
<?php the_content(); ?>
</div>
<?php endwhile; ?>
<?php else : ?>
<h2 class="center"><?php esc_html_e( 'Not Found', 'commentpress-sof-de' ); ?></h2>
<p class="center"><?php esc_html_e( 'Sorry, but you are looking for something that isn’t here.', 'commentpress-sof-de' ); ?></p>
<?php endif; ?>