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?


  • Just remove the link from the theme. But you know that probably ... what exactly is your question? – fuxia 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?

  • nothing changed – ALI VOJDANIANARDAKANI Sep 25 '12 at 5:38
  • Try posting your code – Jamie Sep 25 '12 at 12:00
  • which code? function.php? – ALI VOJDANIANARDAKANI 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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