Forums

Edit hover text (7 posts)

  1. hbalagh
    Member
    Posted 6 years ago #

    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)

  2. Mark (podz)
    Support Maven
    Posted 6 years ago #

    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 ?

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

  4. hbalagh
    Member
    Posted 6 years ago #

    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.

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

  6. hbalagh
    Member
    Posted 6 years ago #

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

  7. hbalagh
    Member
    Posted 6 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.