Support » Plugin: Print, PDF, Email by PrintFriendly » Print subheading

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi,

    Please add class print-only and see if it works.


    Thanks for the response.

    If I add “print-only” to the subheading then only the subheading will show when printed.

    If I add “print-only” to the subheading and the entry-content then only the entry-content will show (subheading again disappears).

    This can be tested just by editing the page in chrome developer tools, but I also confirmed it by changing the code.

    I hope this can be fixed soon.

    Thank you for your assistance.



    Can you please add “print-only” to all of the contents? Like on both the subheading as well as the entry content? I tried this in Chrome development mode and it worked.

    Yes, I can, but it doesn’t work as I described in my last post.

    Adding the “print-only” class to the “entry-content” div and the “lede” p will only show the former. The lede is does not show. Tested in latest stable Chrome 24.0.1312.57 and latest stable Firefox 19.0.

    Thank you for your assistance.

    Plugin Author Print & PDF by PrintFriendly



    Thanks for reporting this. You’ve uncovered an unusual bug. We’re looking into it and will have an answer or fix live ASAP (should have next week).


    Plugin Author Print & PDF by PrintFriendly


    Wait a sec…

    If class=”print-only” is added to the parent div, it includes the sub-head. Only problem is, it treats it like a separate paragraph. Plus sticking the Author between the H1 and the sub-head paragraph.

    Check out this screenshot.

    Getting the sub-head under the header will be tricky. The challenge is, the <h1> is treated as the title, and the sub-head appears as a small unusual paragraph that isn’t in the same HTML structure as the other content(appears to the algorithm as junk).

    We’re going to meet about this first thing next week and see if we can come up with any ideas.

    Plugin Author Print & PDF by PrintFriendly


    You could include the subhead in the H1. Then apply custom css.

    <h1> This is my Title
          <p class="subhead">This is my subhead</p>

    Custom CSS for PrintFriendly
    margin:0 0 10px 0;

    Thanks for the possible workaround.

    Unfortunately, h1 is important tag for SEO I’m very careful with. I would rather not risk the ire of Google bots that wouldn’t understand my benign intentions.

    Thanks for the effort in coming up with a solution though.


Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Print subheading’ is closed to new replies.