dd a class="" to anchor on the "read more" links of a node How I can add a class="" to anchor on the "read more" links of a node.
Im use a bootstrap theme and i need add de btn-default class to anchors, thanks

&lt;ul class="links list-inline"&gt;
  &lt;li class="node-readmore first last"&gt;
    &lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt; SET A CLASS IN THIS ANCHOR ? &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;
    &lt;a title="Noticia 2" rel="tag" href="/jnd/node/13"&gt;
      Read more
      &lt;span class="element-invisible"&gt; sobre Noticia 2&lt;/span&gt;
    &lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
Add template.php file to your theme directory if it doesn't exist. Then, add template_preprocess_node() to it like so, replacing template with your theme name.

function template_preprocess_node(&amp;$variables) {

  $variables['links']['node']['#links']['node-readmore']['attributes']['class'][] = 'btn-default';
}