• Dear all,

    Such as “Edit” link or “Leave a comment” link, I need to put my pdf link as footer of post per post.I found edit_post_link function and put into my footer as a link :
    <?php edit_post_link( __( 'EPUB', 'twentyfifteen' ), '&nbsp;&nbsp;&nbsp;<span >', '</span>' ); ?>

    But my question is how to dynamically generate a link per post?

Viewing 1 replies (of 1 total)
  • Hey there m_pahlevanzadeh,

    Hope you’re well! ??

    Do you mean you have a pdf file for each post? I don’t think that edit_post_link function is the one you need to use to provide the link of your epub/pdf. Also the file you must modify is single.php

    Also, what theme are you using?

    Looking forward for your reply! ??

    Take care,
    Calvin

Viewing 1 replies (of 1 total)
  • The topic ‘link as footer of post’ is closed to new replies.