diff --git a/content-site.php b/content-site.php new file mode 100644 index 0000000..6abbaf9 --- /dev/null +++ b/content-site.php @@ -0,0 +1,57 @@ + +
> + + +
+ ', '' ); + else : + the_title( sprintf( '

', esc_url( get_permalink() ) ), '

' ); + endif; + ?> +
+ +
+ ', '', false ) + ) ); + + talhyperlocal_map_shortcode( get_the_ID() ); + $meta = get_post_custom(); + $url = $meta['url'][0]; + ?> +

Website:

+

&after=' ) ?>

+ + + +
+ + + + + +
diff --git a/single-site.php b/single-site.php index e07f239..b2377fa 100644 --- a/single-site.php +++ b/single-site.php @@ -21,30 +21,22 @@ get_header(); ?> * use this in a child theme, then include a file called called content-___.php * (where ___ is the post format) and that will be used instead. */ - get_template_part( 'content', get_post_format() ); + get_template_part( 'content', 'site' ); - - talhyperlocal_map_shortcode( get_the_ID() ); - $meta = get_post_custom(); - $url = $meta['url'][0]; - ?> -

Website

-

&after=' ) ?>

- ' ' . - // '' . __( 'Next post:', 'twentyfifteen' ) . ' ' . - // '%title', - // 'prev_text' => ' ' . - // '' . __( 'Previous post:', 'twentyfifteen' ) . ' ' . - // '%title', - // ) ); + the_post_navigation( array( + 'next_text' => ' ' . + '' . __( 'Next post:', 'twentyfifteen' ) . ' ' . + '%title', + 'prev_text' => ' ' . + '' . __( 'Previous post:', 'twentyfifteen' ) . ' ' . + '%title', + ) ); // End the loop. endwhile;