• Hey guys,

    what I’d like to accomplish: I want the admin of the WP-project I’m currently working on to:
    1. Upload a PDF-file
    2. Link to it in a post’s teaser/excerpt
    3. Some kind of download button appears in the teaser/excerpt, which allows users to download a post-related PDF.
    I’d like to remove the ‘read more’ tag in those teasers. My client wants the user to download the file directly. The client only wants to post a description in the excerpt.

    What I got: Downloaded and installed the plug-in ‘Download Monitor’, which allows to create slug-related download links. However, I only figured out how to add these to the post itself. What I’d like to do instead is to add one link to my teasers/excerpts in my child-theme’s functions.php that checks if ‘Download Monitor’ (or if someone knows of a better tool to accomplish this task) got any slug-related files and displays them. So it needs to be some general, changing link.
    The admin should only write a short description of the content, upload a new PDF-file, add a slug, and the download link appears automatically in the post’s teaser/excerpt….

    This is — at least how I think — a theoretic approach to solve my problem. How could I accomplish this? In chase anyone got a better idea, please share 🙂

    Thanks… 🙂

  • The topic ‘Automatic, slug related download-link to a file in my post's teaser/excerpt…’ is closed to new replies.