WordPress.org

Forums

Yet Another Related Posts Plugin (YARPP)
How would I make this YARPP custom template . . . (3 posts)

  1. CheshireCatFun
    Member
    Posted 4 years ago #

    Hey guys!

    I'm working on an install of YARPP on my blogs, and I'm trying to activate the custom template option (which is currently not clickable on the YARPP dashboard) and I am trying to make a custom template that does the following.

    I need the posts to work like this: The 2nd and 3rd post would be regular posts, with the anchor text of the link being the destination url (which has the keyword in it) or post title (like normal), but the 1st post would be a link to the homepage, using the originating page's optimized keyword as the anchor text.

    So, iow, it would look something like the following. Assuming that it came from a page talking about "nursing colleges", and the root domain was basically something about "nursingeducation.com" or "nursetraining.com" or something of the sort, we would have . . .

    "Related posts:

    1. Nursing Colleges [pointing to the root domain]
    2. Nursing Schools – How Do You Pick The Right One?
    3. Best Nursing Schools – Does It Pay To Go Part-Time?"

    Does that make sense? How would I go about doing that?

    Thanks!
    Chesh

  2. CheshireCatFun
    Member
    Posted 4 years ago #

    Any ideas?

  3. mitcho (Michael Yoshitaka Erlewine)
    Member
    Plugin Author

    Posted 3 years ago #

    Here's a tutorial on YARPP templates: http://mitcho.com/blog/projects/yarpp-3-templates/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yet Another Related Posts Plugin (YARPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic