• I have a pdf plugin that I am using. It gives me the pdf of the posts that I want. For ex. I want the pdf for a particular post which has the ID 147

    this is the web address that I need to provide : https://xtaur.us/wp2pdf/wp2pdf.php?p=147

    I want to hard code this inside my php file so whenever somebody reads my article, there should be a link right at the end saying download pdf which has the appropriate link attached to it…

    anybody know how?

Viewing 2 replies - 1 through 2 (of 2 total)
  • maybe something like:

    <a href="https://xtaur.us/wp2pdf/wp2pdf.php?p=<?php the_permalink() ?>" rel="bookmark" title="PDF post : <?php the_title(); ?>">

    but that assumes the permalink is setup to be the id.. otherwise you will have to use somehing else like post_id .. i think.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘weird request’ is closed to new replies.