Support Center

Custom Commands

Last Updated: May 22, 2013 10:36AM PDT

There are a few ways you can control what is included in the printed paper and what is not. All of this is done by controlling the HTML of your page. You just need the certain part of the content within a div or any other tag that has a specific class. See the name of the classes below and what they really do.

class="print-no" 

Prevents element from being printed/pdf.
Example: <p class="print-no">Content I do not want to include in print/pdf.</p>
 

class="print-only" 

Prints only the element(s) and the children elements. 
Example:

<div class="print-only">
    <p> This content will be included because it's a child of Print-Only</p>
    <div> This content will be included because it's a child of Print-Only.</div>
</div>

<p>This content will not be included. It is not a child of Print-Only</p>
 

class="pf-title"

Uses this element as the Page Title. 
Example: <h2 class="pf-title">The Page Title</h2>

class="pf-author" or class="byline"

Uses this element as the Page Title. 
Example: <h2 class="pf-title">The Page Title</h2>

class="copyright" or id="copyright"

Includes element and prevents element from being removed. The click-to-delete function will not work to remove this part.
Example: <p class="copyright">Copyright cannot be deleted.</p>


class="delete-no"

Turns off click-to-delete for an element. This does somewhat the same thing as the previous one.
Example: <p class="delete-no">User cannot delete this content.</p>

support@printfriendly.com
http://assets02.desk.com/
printfriendly
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
Invalid characters found
/customer/en/portal/articles/autocomplete