Adding link to resume's in database from Resume Submissions and Job Postings (2 posts)

  1. Slimmons
    Posted 2 years ago #

    I have a plugin called Resume Submissions and Job Postings, and I really like it. In the plugin there's a way to send someone an email of the submission, and right now it sends a text email with a pdf attachment. I'm editing it to take the pdf out of the equation, and I'm pretty new to editing wordpress plugins. Basically I have the database location of the resume '/uploads/rsjp/attachments/'.

    Here's the problem: I don't know how to add a link to the submissions.php file.

    I've tried including something like
    <a href='/uploads/rsjp/attachments/'>
    but like I said, that doesn't seem like it should work, but it was a stab in the dark for a new developer.

  2. bcworkz
    Posted 2 years ago #

    What you have is a relative reference from a supposed page in /wp-content/, which would never happen anyway. You would also always need the filename too. With permalinks, it's difficult to know what folder a relative link should be relative to. You are best off using the full URL, something like http://www.yourdomain.com/wp-content/uploads/rsjp/attachments/submissions.php

    That will always work no matter what page has the link.

Topic Closed

This topic has been closed to new replies.

About this Topic