• Hi guys,

    i have a blog page and it displays full articles and no excerpts. So there is no need for me, that the entry title of an article is a link which leads to the article itself by clicking.

    How can i remove the links of the entry titles? I think it’s pretty easy, but i’m stuck, because i can’t find it neither in mantra settings, nor in the css files.

    Thanks for your help

Viewing 1 replies (of 1 total)
  • Open the theme editor and select the file “content.php”, find the following line

    <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'mantra' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>

    and remove the <a> tag

    <h2 class="entry-title"><?php the_title(); ?></h2>

    The only problem is if you update the theme this change is overwritten.

Viewing 1 replies (of 1 total)
  • The topic ‘How to: remove entry-title link?’ is closed to new replies.