Browse Source

Don't dump the_meta() as it could reveal private data

master
Adrian Short 9 years ago
parent
commit
92dc9d43aa
1 changed files with 1 additions and 6 deletions
  1. +1
    -6
      single-site.php

+ 1
- 6
single-site.php View File

@@ -21,16 +21,11 @@ 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', get_post_format() );
echo "<h1>" . get_the_title() . "</h1>";
talhyperlocal_map_shortcode( get_the_ID() );
the_content();
the_meta();
$meta = get_post_custom();
// print_r($meta);
$url = $meta['url'][0];
?>
<p><a href="<?php echo $url ?>">Website</a></p>


Loading…
Cancel
Save