WordPress.org

Forums

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

  1. Slimmons
    Member
    Posted 10 months 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
    Member
    Posted 10 months 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.

Reply

You must log in to post.

About this Topic