Viewing 3 replies - 1 through 3 (of 3 total)
  • If the original post that you’re making PDF of shows the date but PrintFriendly doesn’t, you may want to use class=”pf-date” and add that to your theme’s single.php file.

    Here are custom classes you can use with PrintFriendly.

    Thread Starter stefano79roma

    (@stefano79roma)

    Thanks a lot for your answer. As I said, php ia a foreigner for me. Could you provide the exact code string to put in the page.php?

    It varies depending on themes. What you’re looking for is either <?php echo get_the_time() or <?php echo get_the_date() followed by other parameters on your single.php file. Just wrap the whole thing starting from <?php ending at ?> with a class="pf-date". Before you do anything, be sure to make a backup of your theme files.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add date to pdf’ is closed to new replies.