Forums

Please help! Regarding permalinks (7 posts)

  1. 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

  2. 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.

  3. 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

  4. benjamindecampos
    Member
    Posted 1 year ago #

    Anyone? What do I do with the code that FishDogFish has highlighted?
    Thanks
    Ben

  5. 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.

  6. FishDogFish
    Member
    Posted 1 year ago #

    No, do this...

    // <?php the_permalink() ?>
  7. benjamindecampos
    Member
    Posted 1 year ago #

    Great. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic