• I like that it will display the name of the title of the post when you hover over the link to the post (in side bar or where ever) how ever i do not like that it says Permanent Link: Title post

    is there a way to just have it say

    Title post

    w/o the permanent link text

    thanks in advance 🙂

    see my site in my name if you want to see what im referring too.. it doesn’t show it in the pages only the articles (post)

Viewing 6 replies - 1 through 6 (of 6 total)
  • You could, but that would involve editing a core file (at a guess, links.php). Any reason why you do not want this function ?

    You could use ‘nicer titles’ to make it looks a whole lot beter instead ?

    I don’t think this requires editing core files.

    I assume you are using the default theme on your WordPress site. If you look at the theme’s index.php file and find the following line:

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

    Change it to:

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

    i.e. remove the “Permanent Link to” text and all will go away.

    If you are not using the default theme a similar process will need to be done wherever in your themes files the links are being generated.

    Thread Starter hbalagh

    (@hbalagh)

    Westi: the only thing i have my themes index referring to Permanent Link is

    php the_permalink() ?>” rel=”bookmark

    but that wouldn’t relate to stuff on the side bar would it?

    Podz: I want the hover just like it is, I just don’t want the text Permanent Link to show up…. why would it show up on the post links and not the page links? I know that my client/friend is going to want it gone once she sees it.

    hbalagh: If the Permanent Link is test is not in index.php look in the other .php files in your theme.

    Looking at your site i think the links you are talking about are in the sidebar so the best place to look would be sidebar.php

    If you still can’t find them post a link to where we can download the php files from your theme and i’ll take a look for the offending lines for you.

    Thread Starter hbalagh

    (@hbalagh)

    its not in the side bar either , even though it doesn’t look like it anymore this theme started off as the anthurium theme

    Thread Starter hbalagh

    (@hbalagh)

    I found out what i had to edit…it was the my-hacks.php file 🙂 silly me

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Edit hover text’ is closed to new replies.