WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove post title link (3 posts)

  1. bertuz
    Member
    Posted 1 year ago #

    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! :)

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    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>
  3. bertuz
    Member
    Posted 1 year ago #

    Thanks a lot alchymyth!!! It worked!

    Have a nice day! :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.