Hiding Metadata Div

Hiding Metadata Div

I've hidden metadata div at end of each post on [posts.main.php]

The reason is that I have stopped feedback unless someone is logged in, there is no option to edit if not logged in and the print link is only available on [posts.single.php]

Done by surrounding by html comment tag if user not logged in

Before metadata div

Code

<?php
if(!isset($current_User)  or (isset($current_User) and ($Item->ID ==627 or $Item->ID ==492)))
echo"<!--"
?>

after metadata div

Code

<?php
if(!isset($current_User) )
  echo"-->"
?>