benjamindecampos
Member
Posted 1 year ago #
This is a difficult thing to search for. One of those things where no-one else seems to have in any way the same issues. I don't understand the world.
Visitor to my site will see a list of posts. They are short posts, they don't need to click on them for more info nor do I want them to have a permanent url of them.
How can I disable the 'permanink' in the post heading? I don't want it to be a link. I just want a static text heading. I've spent the last hour trying to figure out why no-one else seems have a problem in the way I do.
Any help very much appreciated!!!
Thanks
Ben
FishDogFish
Member
Posted 1 year ago #
In index.php look for something like this...
<?php the_permalink() ?>
It's an h element such as an h2.
benjamindecampos
Member
Posted 1 year ago #
Thanks for your reply. I have found this piece of code in the index file and I've looked at it. What should I do with it?
Thanks
benjamindecampos
Member
Posted 1 year ago #
Anyone? What do I do with the code that FishDogFish has highlighted?
Thanks
Ben
benjamindecampos
Member
Posted 1 year ago #
Thanks. Sorry about this but I'm a 'newbie' and took the comments to mean: 'delete <?php the_permalink() ?>'
Is this what you mean? It hasn't worked so I assuming there's a whole load of wordpress speak I don't understand yet.
Any help very much appreciated
Thanks.
FishDogFish
Member
Posted 1 year ago #
No, do this...
// <?php the_permalink() ?>
benjamindecampos
Member
Posted 1 year ago #