Ready to get started?Download WordPress


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

  1. LoaddNet
    Posted 8 months 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. hiphopinenglish
    Posted 8 months 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.


You must log in to post.

About this Topic