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.
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.
You can do this with a YARPP template.
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.
Um, what is a YARPP template? So that what gets displayed with the related posts? I'm not sure what you mean right now.
This topic has been closed to new replies.