Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

Thanks

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.