Forums

[resolved] Removing permanent link from the posts titels (6 posts)

  1. Listic
    Member
    Posted 6 months ago #

    Hi!

    I would like to remove the permanent link from the posts titels..

    I belive i have to edith the code below. But im not really a sharck at this, so if someone has 1 min I would be very tankfull.

    index.php
    <h2>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2>

    page.php
    <h2>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2>

  2. stvwlf
    Member
    Posted 6 months ago #

    <h2>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></h2>

    is this what you mean?

  3. Listic
    Member
    Posted 6 months ago #

    Ohhh sorry

    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

    Just tried replasing both simular lines in index.php and page.php to:
    <h2><?php the_title(); ?></h2>

    But I see no changes at all..!!

  4. jeremyclark13
    Moderator
    Posted 6 months ago #

    Did you force a refresh when you where viewing you blog, hitting CTRL + F5 will force a refresh in Firefox and IE.

  5. stvwlf
    Member
    Posted 6 months ago #

    What you did is correct. Did you refresh your browser screen several times, to force the page to be downloaded from the server again? Also, you need to make that change in single.php, archive.php. and category.php

  6. Listic
    Member
    Posted 6 months ago #

    Ohhhh had to make the same change to home.php
    so now it works..
    Thanks for your time

Reply

You must log in to post.

About this Topic

Tags

No tags yet.