Support » Plugins » [Plugin: Yet Another Related Posts Plugin] Change “permanent link” to my own

  • I cant find witch file to change so that YARPP don’t show “permanent link to”, but instead my own chosen text, when hoovering a link.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You can do this with a YARPP template.

    http://mitcho.com/blog/projects/yarpp-3-templates/

    Jose B

    (@linkaq)

    I tried finding the answer to this same question for such a long time that I felt like throwing my laptop off the roof of my building. But instead I decided to play around with the Index.php file, and I think I figured it out. This is what I did:

    A few lines from the top of Index.php file, there’s a few lines of text inside an <h2> like this:

    <h2 class="YourClass">
    <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link To: %s', 'kubrick'), the_title_attribute('echo=0')); ?>">
    <?php the_title(); ?>
    </a>
    </h2>

    Change the words “Permanent Link To,” to whatever you want, such as “Read.” This worked for me and I suspect it should work for anyone.

    I hope this answers this question once and for all. If not, well, then take your laptop and throw it off the roof of your building.

    @linkaq I’m glad that worked for you. It would be most natural to put that code in a YARPP template rather than the theme so you ensure that it gets displayed with the related posts.

    Jose B

    (@linkaq)

    Um, what is a YARPP template? So that what gets displayed with the related posts? I’m not sure what you mean right now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Yet Another Related Posts Plugin] Change “permanent link” to my own’ is closed to new replies.