I am trying below code to get node field value into template.php.
$field_items = field_get_items('node', $node, 'field_read_more_title');
$variables['readmoretitle'] = $field_items[0]['value'];
But $variables['readmoretitle'] is empty for published node, for unpublished node I am getting correct value.
How can I get the published node field value in template.php?