Using PHP to return related post url. (2 posts)

  1. LoaddNet
    Posted 2 years ago #

    Hello Forum!

    I am working on something very simple I couldn't find anywhere on net so I decided I will try to do it for myself but have a little problem. I decided to ask this forum as I have been reading many things here and found people very nice and helpful.

    I am in need to use a php function to return a link to one related post. The reason I am doing this is a plugin I am trying to create to create a shortcode which will return this link anywhere in the post.


  2. J M
    Posted 2 years ago #

    You need to decide how a post qualifies as a related post? Similar tags, categories, author or what?

    This article offers some good advice though.

Topic Closed

This topic has been closed to new replies.

About this Topic