[Resolved] Making a print button

Home Forums Support [Resolved] Making a print button

Home Forums Support Making a print button

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2293958
    Oliver

    I would like people to be able to print the content area of each post by clicking a button. I found this answer from Tom Print, but I don´t know how to translate that into a button that prints the post content. Where should the button be directed to? or should it just have a class like this:

    
    .print {
    @media print {
          .side-header, 
          .main-navigation, 
          .secondary-navigation, 
          .widget-area, 
          .footer-widgets {
                display: none;
          }
     }
          body {
                font-family: Tahoma, Verdana, Arial, sans-serif;
          }
    }
    
    #2294310
    Leo
    Staff
    Customer Support

    Hi Oliver,

    Making an actual button would require a button or a custom solution which is out of the scope of this support forum.

    I just google “Print Button WordPress” and saw quite a few articles on it as it’s not a theme-specific request.

    Hope this helps to get you started 🙂

    #2294337
    Oliver

    Hey Leo thanks for taking the time… I searched and did come across a nice tutorial. If anyone ever needs this and sees this post here is the link

    Thanks again Leo and have a nice day!

    #2294441
    Marcel

    Hello Oliver,

    Thank you for providing the link about adding a print button to a WordPress page or post without a plugin.
    Even though it is an article from 2013, it is really useful.

    Best regards,
    Marcel

    #2294529
    Leo
    Staff
    Customer Support

    No problem Oliver.

    And thanks for sharing a working solution 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.