WordPress.org

Ready to get started?Download WordPress

Forums

Using PHP to return a link to related post (1 post)

  1. LoaddNet
    Member
    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.

    Thanks,
    Ivan

Reply

You must log in to post.

About this Topic