Support » Fixing WordPress » Remove post title link

  • Resolved bertuz

    (@bertuz)


    Hello!

    I want to remove the post title link to all the posts of my “twentyten” template of WordPress. How can I do it?

    I looked all the .php files and I can’t find the solution.

    Thanks! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • look into loop.php;

    change:

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

    (occurs twice – change both)

    to:

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

    (@bertuz)

    Thanks a lot alchymyth!!! It worked!

    Have a nice day! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove post title link’ is closed to new replies.