Add a "Like" button after "Edit" and "Reply" links
Implement hook_node_view() in a custom module that you create.

$node-&gt;content['links'][] = array(
  '#markup' =&gt; flag_create_link('bookmarks', $node-&gt;nid),
);


Or use the function MY_THEME_preprocess_node() in your template.php and add:

function MY_THEME_preprocess_node(&amp;$variables) {
  $node = $variables['node'];
  $variables['content']['links'][] = flag_create_link('bookmarks', $node-&gt;nid);
}


Replace MY_THEME with the name of your theme.
Some reading that might help you: http://www.whenwhowhere.com/tech-blog/add-variable-theme-template-files-drupal-7