WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the website I'm looking for something so that I can disable clicking titles in category posts.

Just want them to be a simple text not a link one

How can I do that?


share|improve this question
Just remove the link from the theme. But you know that probably ... what exactly is your question? – toscho Sep 24 '12 at 19:27

usually the code that makes a link to a title in WordPress looks something like this

 <a href="<?php the_permalink(); ?>"><php the_title(); ?></a>

if you were to change it to this

<?php the_title(); ?>

it would only display the title. It would remove the link. Does that answer your question?

share|improve this answer
nothing changed – aliboy38 Sep 25 '12 at 5:38
Try posting your code – Jamie Sep 25 '12 at 12:00
which code? function.php? – aliboy38 Sep 25 '12 at 13:38
The code that you are changing. If its not working, that means you are changing the wrong file. – Jamie Sep 25 '12 at 16:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.